Front page | perl.dbi.users |
Postings from July 2006
RE: Perl script
Thread Previous
|
Thread Next
From:
Martin J. Evans
Date:
July 25, 2006 01:49
Subject:
RE: Perl script
Message ID:
XFMail.20060725094857.martin.evans@easysoft.com
This is not the correct list for this question - this list is for Perl DBI
users. Try http://lists.cpan.org/showlist.cgi?name=beginners.
Martin
--
Martin J. Evans
Easysoft Ltd, UK
http://www.easysoft.com
On 25-Jul-2006 Amar P. Singh wrote:
> Hi All,
>
> This is my first email to the group and I hope that I landed in the
> correct place.
>
>
>
> Ok now coming to the problem. Can someone explain to me that what this
> script is doing. I want to know the meaning of all the lines in the
> script.
>
>
>
> $val = defined $val ? $val : "null";
>
> $val =~ s/\'/$& x 2/eg; # double pad single
> quote character '
>
>
>
> Please help me out understand the meaning of the lines above.
>
>
>
> With Regards,
>
>
>
> Amar P Singh
>
> desk: +91 124 4167037
>
> mobile: +91 (0) 9810788298
> e-mail: asingh4@sapient.com
>
>
>
Thread Previous
|
Thread Next