For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > October 2006 > Re: Opening .dat file in perl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Opening .dat file in perl
John W. Krahn

2006-10-20, 6:56 pm

Goksie wrote:
> Thanks all for the past help
>
> Can someone advice me on how i can open .dat file in perl script?


open my $fh, '<', '00016367.DAT' or die "Cannot open '00016367.DAT' $!";



John
--
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order. -- Larry Wall
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com