develooper Front page | perl.macperl.porters | Postings from January 2003

[ macperl-Bugs-664987 ] IO::File + leading space for hard disk

Thread Next
From:
SourceForge.net
Date:
January 9, 2003 03:57
Subject:
[ macperl-Bugs-664987 ] IO::File + leading space for hard disk
Message ID:
E18WbL4-000857-00@sc8-sf-web3.sourceforge.net
Bugs item #664987, was opened at 2003-01-09 11:59
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=107940&aid=664987&group_id=7940

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Axel Rose (axelrose)
Assigned to: Nobody/Anonymous (nobody)
Summary: IO::File + leading space for hard disk

Initial Comment:
The following failes:

use IO::File;
my $file = ' myharddisk:folder:filename';
my $fh = IO::File->new;
$fh->open( '$file', "r" ) or die "unable to open'$file' - $!";

Note the leading space in the hard disk name " myharddisk".


Axel

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=107940&aid=664987&group_id=7940

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