Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 scrutinizing the Monastery: (13)
As of 2015-01-27 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (200 votes), past polls