in reply to Re^4: returning to a loop later on
in thread returning to a loop later on

#!usr/local/bin/perl
Should be
#!/usr/local/bin/perl
(Or wherever you have perl installed)

Replies are listed 'Best First'.
Re^6: returning to a loop later on
by Yoda_Oz (Sexton) on Sep 07, 2006 at 21:25 UTC
    this is really strange... i just ran the script on a windows machine and it doesnt work. i just copy and pasted too! why wont the script work???

      In which way does it "not work" for you? I've run mine with Not_a_Number's corrections — see my updated post — and it works fine for me using ActivePerl 5.6.1 on Win2k.

        ok. i copy and pasted your updated code. now, i get no errors. however, there is no output whatsoever. nothing happens now... should there be some output?