Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Not quite understanding a couple of things

by Joost (Canon)
on May 25, 2007 at 00:50 UTC ( [id://617373]=note: print w/replies, xml ) Need Help??


in reply to Not quite understanding a couple of things

All the documents linked below should also be available on your system (provided you've got a full perl base install) using "perldoc NAME" (for full manual sections) or "perldoc -f NAME" (for functions) from the command line, where NAME is the text of the link. See also "perldoc perltoc"

How to use hashes (and arrays and scalars), see perldata.

@_ and $_ are the default array and scalar. For instance shift and pop without arguments modify @_, and print without arguments prints the current value of $_.

@_ also gets set with the arguments to the current subroutine and $_ is used as a general single argument. See perlsub and perlvar.

  • Comment on Re: Not quite understanding a couple of things

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-19 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found