P is for Practical | |
PerlMonks |
Re: Using wildcards to open files.by brap (Pilgrim) |
on Oct 26, 2012 at 13:31 UTC ( [id://1001079]=note: print w/replies, xml ) | Need Help?? |
Hi starface245, The error message you provided leads me to believe you're on a Windows system. If that's not the case, this might not work, so feel free to disregard. Putting the file name itself in double quotes might be the answer here. $cmd = "perl script.pl < \"$file\""; (somewhat tested)
In Section
Seekers of Perl Wisdom
|
|