Mazhar schreef:
> I tried with your input above but i still get one character at the
> beginning missing..
As said, it is probably not missing, but just overwritten on your
screen,
by the space in your print.
#!/usr/bin/perl
use strict ;
use warnings ;
my $fn = $ARGV[0] ;
open my $fh,
On 8/22/06, Mazhar <[EMAIL PROTECTED]> wrote:
> >> From the output i see the first character is missing in the output..
That could be caused by something erasing the first character after
it's output to your screen. Send the output to a file, inspect the
file (with 'hexdump -c', perhaps), and
On 8/22/06, John W. Krahn <[EMAIL PROTECTED]> wrote:
Mazhar wrote:
> Dear Frndz,
Hello,
> I am writing the below code and i am facing a problem in chomp (its an
> HP UX Box)
>
> Code
>
> #!/usr/bin/perl
>
> use strict;
> use warnings;
> my $file_
Mazhar wrote:
> Dear Frndz,
Hello,
> I am writing the below code and i am facing a problem in chomp (its an
> HP UX Box)
>
> Code
>
> #!/usr/bin/perl
>
> use strict;
> use warnings;
> my $file_name=$ARGV[0];
> open(FILE,"$file_name") || die "Not
On Aug 21, 2006, at 8:51 PM, Mazhar wrote:
use strict;
use warnings;
my $file_name=$ARGV[0];
open(FILE,"$file_name") || die "Not been Accessed" ;
No quotes needed around $file_name there.
@host_array=;
That variable was not declared before, so that script does not run
because it does not
Dear Frndz,
I am writing the below code and i am facing a problem in chomp (its an HP UX
Box)
Code
#!/usr/bin/perl
use strict;
use warnings;
my $file_name=$ARGV[0];
open(FILE,"$file_name") || die "Not been Accessed" ;
@host_array=;
close(FILE);