Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: backtick calls in loops

by ariels (Curate)
on Jul 02, 2002 at 13:47 UTC ( #178845=note: print w/replies, xml ) Need Help??


in reply to backtick calls in loops

You might wish to read about how (not) to ask a question.

It's impossible for anyone to help you, for the simple reason that you're not giving your nonworking code. The following should help you post an answerable question. It might even let you ask more precisely, or find the problem yourself!

Try to write a short while loop which "calls a perl script using backticks". Does it work? Is it executed just once, or several times? If it's executed just the one time, try replacing the perl script call with a print statement. Does that execute just once? Is your loop executing more than once?

Try to find short, nonworking code, and post that. Then we might be able to help you.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://178845]
help
Chatterbox?
[Corion]: Heh. Perl heredocs are nasty - Filter::Simple doesn't know whether the line continued after the heredoc or not. The heredoc payload starts on the next line.
[Corion]: So currently, Filter::Simple mangles your code/line numbers if you use heredocs ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-01-22 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (187 votes). Check out past polls.