in reply to 'no such file' when it's there.

If I read your quotes right, you have
9 open(SCRIPT, '$file') || die "$file DIE DIE DIE!!!!! $!";
Ahh yes, the cut-n-paste reveals it. You are opening up a file named "dollar eff eye ell eee". Do you really have a file by that name? Drop the quotes, or change to double quotes, and you'll see a remarkable improvement in execution.

And please change

qx(ls *pl)
to a simpler kinder gentler more accurate
glob "*pl"
or if that doesn't work
<*pl>
Thanks!

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE: Re: 'no such file' when it's there.
by jptxs (Curate) on Aug 31, 2000 at 07:37 UTC
    all i can say is "duh on me" :)