in reply to Re: Re: PERL File Manipulation
in thread PERL File Manipulation

That'll be the old globbing thing then :-) Weirdly however it doesn't work either if you supply a valid filename instead of '*' - of course if you change the quotes to double ones it works fine. An illustration of the cranky nature of cmd.exe

/J\

Replies are listed 'Best First'.
Re: Re: Re: Re: PERL File Manipulation
by nysus (Parson) on Jul 11, 2003 at 13:03 UTC
    Actually,

    perl -ne "print;" runme.bat

    worked for me. I just don't think globbing works at all. *.* didn't work either. Who knows. In my own limited experience, except for doing basic stuff like running perl script directly, cmd.exe is about useless for Perl. It's just too much of a pain to figure out all the little quoting quirks.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff";
    $nysus = $PM . $MCF;
    Click here if you love Perl Monks