Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How to combine these 2 subroutines in one?

by hdb (Prior)
on Apr 03, 2014 at 12:26 UTC ( #1080941=note: print w/ replies, xml ) Need Help??


in reply to How to combine these 2 subroutines in one?

As a first step, have a look at ref, that let's you decide whether a variable contains a reference to an array.


Comment on Re: How to combine these 2 subroutines in one?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2014-10-25 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (138 votes), past polls