Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: making a list and saving results

by trammell (Priest)
on May 29, 2005 at 20:22 UTC ( [id://461576]=note: print w/replies, xml ) Need Help??


in reply to making a list and saving results

I assume you mean print each number on a new line:
print "$_\n" for @list;
Saving the output is something the shell can do trivially:
% perl myprog.pl > ~/mylist.txt

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-23 17:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found