Skip to content

Conversation

@mauke
Copy link
Contributor

@mauke mauke commented Jul 29, 2025

Only treat arguments as bareword filehandles if they're plain strings, not references. Otherwise Symbol::qualify() will just return $arg as-is, even if it is not a GLOB reference.

Fixes #23507.


  • This set of changes does not require a perldelta entry.

Only treat arguments as bareword filehandles if they're plain strings,
not references. Otherwise Symbol::qualify() will just return $arg as-is,
even if it is not a GLOB reference.

Fixes Perl#23507.
@mauke mauke force-pushed the fix-23507-file-stat branch from f2c9f6f to c32fa77 Compare July 30, 2025 02:46
@mauke mauke merged commit 1810bc5 into Perl:blead Aug 1, 2025
33 checks passed
@mauke mauke deleted the fix-23507-file-stat branch August 1, 2025 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File::stat dies on path objects with overloaded stringification

3 participants