Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: String in array

by mzedeler (Pilgrim)
on Jul 27, 2009 at 07:13 UTC ( #783454=note: print w/ replies, xml ) Need Help??


in reply to String in array

Just try some print(tm)-debugging:

my ($cmd, $chdir) = split(';',$run[$element],2);

becomes

print '@run:', join ', ', @run, "\n"; print "\$element: $element\n"; my ($cmd, $chdir) = split(';',$run[$element],2); print "\$cmd: $cmd\n"; print "\$chdir: $chdir\n";

You'll be surprised when you discover how many problems you can solve on your own using this technique.


Comment on Re: String in array
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-09-15 03:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls