Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: @$ variable type

by luis.roca (Deacon)
on Jan 12, 2012 at 22:41 UTC ( #947659=note: print w/ replies, xml ) Need Help??


in reply to @$ variable type

A few things you can do to make it easier to learn what's going on with your code. At the top of your file, along with other pragmas include:

  • use diagnostics -v; use Data::Dumper; ### YOUR CODE ### print Dumper(@$sets);
    • The first line will give you more debugging information on any errors/warnings your code is returning.
    • The second (use Data::Dumper) will reveal the contents of variables such as your @$sets, using print Dumper(@$sets);

References in Perl can be hard to learn (as can navigating Perl's documentation) but it's important you do so in order to not struggle with the language. Good luck!


"...the adversities born of well-placed thoughts should be considered mercies rather than misfortunes." Don Quixote


Comment on Re: @$ variable type
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-07-25 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls