Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

RE: RE: Re: Remote Pipe

by btrott (Parson)
on May 31, 2000 at 06:40 UTC ( [id://15565]=note: print w/replies, xml ) Need Help??


in reply to RE: Re: Remote Pipe
in thread Remote Pipe

Probably just a typo on your part, but I think this is what threw the OP when he tried your code. The second comma: you probably meant that to be a concatenation operator, yes?

You want

open TMP, ">" . $tmp or die "Couldn't open $tmp: $!";

Replies are listed 'Best First'.
RE: RE: RE: Re: Remote Pipe
by mdillon (Priest) on May 31, 2000 at 06:51 UTC
    actually, i got confused by the fact that i have Perl 5.6.0 installed and it has a new variant of open with the following signature: open HANDLE, MODE, LIST sorry that i didn't notice it was Perl 5.6 only, but i don't use files too often. i figured the other signature was there to avoid cross platform problems easier.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-25 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found