Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
more useful options
 
PerlMonks  

Re^3: shift vs @_

by shmem (Canon)
on Oct 03, 2006 at 20:50 UTC ( #576186=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    sub foo(\@\$) {
    ...
    
    print "ary: (@ary)\n";
    print "foo: $foo\n";
    
  2. or download this
    foo args: ('ARRAY(0x8167870)','SCALAR(0x8167978)')
    1st argument = ARRAY(0x8167870); content =('foo','bar','baz')
    2nd argument = SCALAR(0x8167978); content = 'blah'
    ary: (foo bar baz blah)
    foo: blurf
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-04-16 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (414 votes), past polls