Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Re: Learning Exercise

by jarich (Curate)
on Jul 19, 2002 at 01:06 UTC ( [id://183099]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s/\s//;   # remove all whitespace from $_
    if($_ eq "l") { entry_list(); }
    elsif($_ eq "a") {  addentry();}   #etc
    
  2. or download this
    subroutine;          # doesn't pass strict.
    &subroutine;         # passes @_ as argument list
    
    &subroutine();       # looks weird, passes arguments in ()
    subroutine();        # generally preferred method
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-04-18 12:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found