Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Passing named parameters

by snowcrash (Friar)
on May 02, 2000 at 10:45 UTC ( [id://9900]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w 
    
    ...
    
    do_this_cool_function(-retire=>'early', -payscale=>-55.00, -pizza=>'co
    +ld', -beer=>'none');
    
  2. or download this
    Bareword "none" not allowed while "strict subs" in use at ./test.pl li
    +ne 17.
    Unquoted string "none" may clash with future reserved word at ./test.p
    +l line 17.
    Execution of ./test.pl aborted due to compilation errors.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-03-28 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found