Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Linux file handle not working

by shmem (Chancellor)
on Jan 16, 2020 at 01:36 UTC ( #11111468=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -Mntheory=:all -nE 'chomp; say is_prime($_);' input.txt
    
  2. or download this
    qwurx [shmem] ~> perl -E "say '$_'" foo.bar
    
    ...
    foo.bar
    qwurx [shmem] ~> perl -E "say $_" foo.bar
    foobar
    
  3. or download this
    qwurx [shmem] ~> echo '`ls -l /dev/null`'
    `ls -l /dev/null`
    ...
    use feature 'current_sub', 'evalbytes', 'fc', 'say', 'state', 'switch'
    +, 'unicode_strings', 'unicode_eval';
    say say(say(`ls -l /dev/null`));
    -e syntax OK
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11111468]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2020-07-10 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?