Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Replace Hash-Ref with Array-Ref

by Anonymous Monk
on Nov 11, 2012 at 08:00 UTC ( [id://1003303]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Replace Hash-Ref with Array-Ref
in thread Replace Hash-Ref with Array-Ref

Mind you, it's far from kosher to have functions that mess with its arguments. You save, what, five characters each function call? Try to do it how brx suggested.

sub bazify { my ($bar) = @_; return $bar->{baz}; } $ref = bazify($ref);

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found