Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Using wildcards to open files.

by brap (Pilgrim)
on Oct 26, 2012 at 13:31 UTC ( #1001079=note: print w/ replies, xml ) Need Help??


in reply to Using wildcards to open files.

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)


Comment on Re: Using wildcards to open files.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-07-29 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (213 votes), past polls