Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Strawberry perl on Win 7 (64-bit)

by ikegami (Patriarch)
on Nov 03, 2015 at 15:17 UTC ( [id://1146820]=note: print w/replies, xml ) Need Help??


in reply to Strawberry perl on Win 7 (64-bit)

You used the "program |" syntax, which makes the returned handle a pipe of the output of the program.

Change

my $infile = IO::File->new("c:\\...\\test.txt |");

to

my $infile = IO::File->new("c:\\...\\test.txt");

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-18 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found