Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 rifling through the Monastery: (7)
As of 2014-12-20 22:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (99 votes), past polls