Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 chilling in the Monastery: (8)
As of 2015-07-31 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls