Hello,
use strict;
use warnings;
Excellent use of those :)
my $file_name=".txt";
open(FILE,"$file_name") || die "Not been Accessed";
Good that you checked for failure, why not also report the error ...
Also, don't double quote strings that have nothing to be interpolated or
are
Thanks everybody for the support..
it is working fine..
Regards
Mazhar
On 6/14/06, John W. Krahn <[EMAIL PROTECTED]> wrote:
Mazhar wrote:
> Hello,
Hello,
> I am writing perl on windows installing Activestate Perl and the code is
> reading a text file and processing it,
>
> the code what i
Mazhar wrote:
> Hello,
Hello,
> I am writing perl on windows installing Activestate Perl and the code is
> reading a text file and processing it,
>
> the code what i use is...
>
> ##
> use strict;
> use warnings;
>
> my $file_name=".txt";
>
> open(FILE,
On Wed, 2006-14-06 at 15:59 +0400, Mazhar wrote:
> Hello,
>
> I am writing perl on windows installing Activestate Perl and the code is
> reading a text file and processing it,
>
> the code what i use is...
>
> ##
> use strict;
> use warnings;
>
> my $file_name="X
On 6/14/06, Mazhar <[EMAIL PROTECTED]> wrote:
Hello,
I am writing perl on windows installing Activestate Perl and the code is
reading a text file and processing it,
the code what i use is...
##
use strict;
use warnings;
my $file_name=".txt";
open(FILE
Hello,
I am writing perl on windows installing Activestate Perl and the code is
reading a text file and processing it,
the code what i use is...
##
use strict;
use warnings;
my $file_name=".txt";
open(FILE,"$file_name") || die "Not been Accessed";
while