Home  |  Linux  | Mysql  | PHP  | XML
From:Peter J. Holzer Date:Mon Aug 11 05:20:20 2008
Subject:Re: what's <<"SQL" do?
On 2008-08-10 08:07:53 -0700, dshesnicky@yahoo.com wrote:
> Quick question, I have a chunk of code from a previous coder:
> 
>  $member = $dbh->selectrow_array( <<"SQL" );
>  SELECT whatever FROM DATA
>  SQL
> 
> I'm not familiar with the syntax?

See perldoc perlop, "Quote-Like Operators".

	hp

-- 
   _  | Peter J. Holzer    | Am Anfang war der Bug und der
|_|_) | Sysadmin WSR       | Verantwortliche sprach:
| |   | hjp@wsr.ac.at      | Es werde ein Testcase.
__/   | http://www.hjp.at/ |    -- Clemens Zauner in dcii

Attachment: [application/pgp-signature]
Navigate in group perl.dbi.users at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants