New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open fails when filename ends in " " #9472
Comments
From tag@tenet.res.inCreated by tag@tenet.res.inThis is a bug report for perl from tag@tenet.res.in, ----------------------------------------------------------------- opendir DIR, "."; $file = "fff "; open CDFILE, $file | die "Can not open |$file|\n"; Perl Info
|
From @gbarrOn Sep 6, 2008, at 8:18 AM, tag@tenet.res.in (via RT) wrote:
<snip>
That is as documented. $ perldoc -f open The filename passed to 2−argument (or 1−argument) form of If you want whitespace at the start of end of a file honored then open CDFILE, '<', $file or die "Can not open |$file|\n";perl Graham. |
The RT System itself - Status changed from 'new' to 'open' |
@rgs - Status changed from 'open' to 'rejected' |
From tag@tenet.res.inGreetings: I found the solution (by using 3 args to open()) to my problem in the Regards |
Migrated from rt.perl.org#58632 (status was 'rejected')
Searchable as RT58632$
The text was updated successfully, but these errors were encountered: