Hi List,

Any reason why this dies?   error: " could not open data.txt No such file or directory"
-->The file and script reside in the same directory!!! 

#!/usr/bin/perl -w

use strict;

my $data = "data.txt";

open (FH,$data)  || die  "could not open $data $!";

local $/; 
my $tmp = <FH>;
my @tmp =  split (/\n/,$tmp); 

print @tmp;


__END__

Thanks

Dave

( kora musician / audiophile / web master @ cora connection /  Ft. Worth, TX, USA)

==============================================
         Cora Connection: Your West African Music Source
              Resources, Recordings, Instruments & More!
                   <http://www.coraconnection.com/> 
==============================================

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to