-
Notifications
You must be signed in to change notification settings - Fork 578
Piped opening from command line? #6937
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
Comments
From [email protected]Is there a way to read files given on the commandline which begin or end -- |
From [email protected]On Nov 18, Leah said:
It works for me: perl -lne 'print scalar reverse' -- 'date |' -- |
From [email protected]Leah <perl5-porters@perl.org> writes:
You can use the 3-arg form of open: open(my $fh,'<',$ARGV[$N]); or sysopen use Fcntl; both avoid the magic.
|
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#24519 (status was 'resolved')
Searchable as RT24519$
The text was updated successfully, but these errors were encountered: