Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How do you save a perl script?

by epoptai (Curate)
on Mar 24, 2001 at 07:29 UTC ( [id://66822]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl -w
    # self-contained counter script increments and prints value in DATA
    ...
    
    __DATA__
    0
    
  2. or download this
    #!perl -w
    # counter script increments and prints value in $file
    ...
    close FILE or die "$!";
    
    print $num; # print incremented value
    

Log In?
Username:
Password:

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

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

    No recent polls found