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 rifling through the Monastery: (5)
As of 2015-08-31 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (352 votes), past polls