thanks Raymond for the help it works,
and what do u mean by variable interpolation

Regards
Mazhar

On 4/6/06, Raymond Raj <[EMAIL PROTECTED]> wrote:
>
> > -----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
> > 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;
> >
>
>
> put string into single quotes, double quotes allow variable interpolation
> so
> perl think @04 as some variable.
> my $string='[EMAIL PROTECTED]'; #will work
> or you can use  just like below
> my $string="[EMAIL PROTECTED]"; #not recommended
>
>
>
>
>
> Confidentiality Notice: This transmittal is a confidential
> communication.  If you are not the intended recipient, you are hereby
> notified that you have received this transmittal in error and that any
> review, dissemination, distribution or copying of this transmittal is
> strictly prohibited. If you have received this communication in error,
> please notify this office immediately by reply and immediately delete this
> message and all of its attachments, if any.

Reply via email to