Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How to read from a file instead from a hard coding list.

by JavaFan (Canon)
on Apr 25, 2012 at 08:36 UTC ( [id://967020]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @words=qw( portion answers printer program );
    
  2. or download this
    chomp(my @words = `cat /path/to/file`);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-24 05:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found