Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: My sub does not work twice

by johnnywang (Priest)
on Aug 07, 2007 at 22:31 UTC ( #631176=note: print w/replies, xml ) Need Help??

in reply to My sub does not work twice

It looks like each of your run of job_selection() is overwriting the output file (">" in your open). Is that what you mean by "does not work"? also you are using "our" in your code, which does not seem necessary, "my" should be enough, and you don't need to declare them at the top.

update ok, didn't see the output file name contains a variable.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-10-27 10:39 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (358 votes). Check out past polls.