John W. Krahn am Freitag, 7. April 2006 01.09:
> D. Bolliger wrote:
> > btw, @04 is not a valid (array) variable name; they must not start with a
> > digit, as not keyword/builtin does.
>
> $ perl -Mwarnings -Mstrict -le' our @04 = 10 .. 14; print "@04"'
> 10 11 12 13 14
>
> You are probably thinki
D. Bolliger wrote:
>
> btw, @04 is not a valid (array) variable name; they must not start with a
> digit, as not keyword/builtin does.
$ perl -Mwarnings -Mstrict -le' our @04 = 10 .. 14; print "@04"'
10 11 12 13 14
You are probably thinking scalars and/or lexicals.
John
--
use Perl;
program
Mazhar am Donnerstag, 6. April 2006 11.48:
> thanks Raymond for the help it works,
> and what do u mean by variable interpolation
Hello Mazhar
It will help you a lot to know and use the documentation system of perl.
You can get an overview by typing (on the command line):
perldoc perl
(docs)
p
> -Original Message-
> From: Mazhar [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 06, 2006 3:19 PM
> To: [EMAIL PROTECTED]
> Cc: beginners@perl.org
> Subject: Re: Help Required on the Script
>
>
> thanks Raymond for the help it works,
> and what do u
gt; > To: Jaime Murillo
> > Cc: beginners@perl.org
> > Subject: Re: Help Required on the Script
> >
> >
> > Thank you giyz for the help i require one more help from
> > yourside. i have
> > one more code where in i am getting error on print of a value
> -Original Message-
> From: Mazhar [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 06, 2006 2:41 PM
> To: Jaime Murillo
> Cc: beginners@perl.org
> Subject: Re: Help Required on the Script
>
>
> Thank you giyz for the help i require one more help from
> yo
nks
Swayam
- Original Message -
From: "Mazhar" <[EMAIL PROTECTED]>
To: "Jaime Murillo" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, April 06, 2006 2:41 PM
Subject: Re: Help Required on the Script
Thank you giyz for the help i require one more help from yourside.
Thank you giyz for the help i require one more help from yourside. i have
one more code where in i am getting error on print of a value of a variable,
below is the code
#!/usr/bin/perl -w
use strict;
use warnings;
my $string="[EMAIL PROTECTED]";
print $string;
On executing the above i get the
thanks Jamie.
It is Working.
Regards
Mazhar
On 4/5/06, Jaime Murillo <[EMAIL PROTECTED]> wrote:
>
> On Tuesday 04 April 2006 23:46, Mazhar wrote:
> > Hi Guyz,
>
> Hi Mazhar,
>
> > i am writin a script to automate the command snmpwalk by
> > reading the contents of a file. Below is th
On Tuesday 04 April 2006 23:46, Mazhar wrote:
> Hi Guyz,
Hi Mazhar,
> i am writin a script to automate the command snmpwalk by
> reading the contents of a file. Below is the snippet
>
> $file_name="somefile.txt";
>
> open(FILE,"< $file_name");
>
> while()
> {
> my $ip;
>
> -Original Message-
> From: Mazhar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 05, 2006 12:16 PM
> To: beginners@perl.org
> Subject: Help Required on the Script
>
>
> Hi Guyz,
> i am writin a script to automate the command
> snmpwalk by reading
> the contents of a fil
11 matches
Mail list logo