Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Code Interpretation

by Perl_Ally (Novice)
on Jul 28, 2014 at 15:55 UTC ( [id://1095384]=note: print w/replies, xml ) Need Help??


in reply to Re: Code Interpretation
in thread Code Interpretation

blue_cowdawg: Thanks for the attention.

I wasn't sure of the intent, which is why I was looking for help interpreting. This is an existing script written by somebody else which I'm hoping to update to be more useful.

The quoted line of code comes at the end of a sub. @allrefs should be an already populated array, which is why your output shows undef.

Replies are listed 'Best First'.
Re^3: Code Interpretation
by blue_cowdawg (Monsignor) on Jul 28, 2014 at 17:06 UTC
        @allrefs should be an already populated array, which is why your output shows undef.

    I had a hunch that was the case. This is why you need to include pre-assignments in your code sniglets.


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-26 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found