Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: subroutine bewilderment: how to mimic builtins

by ysth (Canon)
on Feb 08, 2006 at 02:43 UTC ( [id://528697]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -we'print uc 1, 2'
    12
    
    $ perl -we'sub myuc(;$) { $_[0]||$_ } print myuc 1, 2'
    Too many arguments for main::myuc at -e line 1, at EOF
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-16 04:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found