This is not a DBI issue.  If you want to know about these types of
constructs, please refer to the following docs:

1.  The Perl man pages - In your case,
http://search.cpan.org/dist/perl/pod/perlop.pod and
http://search.cpan.org/dist/perl/pod/perlre.pod

2.  The camel book - http://www.oreilly.com/catalog/learnperl4/ and The
Perl Cookbook - http://www.oreilly.com/catalog/perlckbk2/



-----Original Message-----
From: Amar P. Singh [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 24, 2006 11:03 PM
To: dbi-users@perl.org
Subject: Perl script

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: [EMAIL PROTECTED]

 


This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is 
intended 
to be for the use of the individual or entity named above. If you are not the 
intended recipient, please be aware that any disclosure, copying, distribution 
or use of the contents of this information is prohibited. Please notify the
sender  of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.

Reply via email to