Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 taking refuge in the Monastery: (9)
As of 2014-11-27 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (182 votes), past polls