Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Code Interpretation

by Perl_Ally (Novice)
on Jul 28, 2014 at 15:55 UTC ( #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
Node Status?
node history
Node Type: note [id://1095384]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2020-07-02 07:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?