Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Loop is not working

by toolic (Bishop)
on Oct 03, 2018 at 19:27 UTC ( #1223485=note: print w/replies, xml ) Need Help??

in reply to Loop is not working

If your script hangs, I suspect it is because /usr/local/fsl/bin/feat hangs (whatever that is).


  • You are discarding output from the backticks. For debugging purposes (to see if there is output): print `/usr/local/fsl/bin/feat Level1Run1_spec.fsf`;
  • cd .. will not change your directory. You need chdir.
  • The opendir does not really do anything in your code.
  • Customarily, the use lines appear at the top of a script.
  • $s=$s+1 is typically written as $s++
  • For other tips, refer to the Basic debugging checklist.

Replies are listed 'Best First'.
Re^2: Loop is not working
by ozdemmer (Novice) on Oct 04, 2018 at 01:48 UTC

    Thank you so much for taking your time to comment. I used the suggestion by the user named poj. All the best.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (1)
As of 2022-01-17 04:18 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (51 votes). Check out past polls.