develooper Front page | perl.perl5.porters | Postings from October 2003

open(my $f, "<:raw", \$a) fails

Thread Next
From:
Gisle Aas
Date:
October 21, 2003 01:01
Subject:
open(my $f, "<:raw", \$a) fails
Message ID:
lrbrsbf2bh.fsf@caliper.activestate.com
This always fails:

    open(my $f, "<:raw", \$a) || die;

Is this to be expected?

I assume what is going on is that ":raw" pops off the implicit
":scalar" layer.

Regards,
Gisle

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About