Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Linux file handle not working

by pvfki (Novice)
on Jan 16, 2020 at 00:46 UTC ( [id://11111465]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    147416345806550029415781910597841
  2. or download this
    >perl -Mntheory=:all -nE "chomp; say is_prime($_);" input.txt
    1
    >perl -Mntheory=:all -nE "chomp; say length($_);" input.txt
    33
    
  3. or download this
    >perl -Mntheory=:all -nE "chomp; say is_prime($_);" input.txt
    Parameter 'inputtxt' must be a positive integer at -e line 1, <> line 
    +1.
    >perl -Mntheory=:all -nE "chomp; say length($_);" input.txt
    Parameter 'inputtxt' must be a positive integer at -e line 1, <> line 
    +1.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11111465]
Approved by Athanasius
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-28 16:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found