develooper Front page | perl.perl5.porters | Postings from March 2000

Embedded SQL, qs, and suchlike things

Dan Sugalski
March 20, 2000 09:15
Embedded SQL, qs, and suchlike things
Message ID:
Since providing embedded SQL support would involve changes to the guts of 
perl anyway, maybe we should be thinking a bit more flexibly than a new 
quoting operator. Instead of qs() (which would be kind of cool) maybe we 
should consider enhancing formats to allow attributes. Formats need some 
major overhaul *anyway*, so why not go and do it all in one swoop? 
Something like:

format QUERY : sql =
   select foo, bar
   into   $foo, $bar
   where baz = $xyzzy;

and enhance prototypes and maybe add something that indicates a format. (. 
or F or something)


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai                         have teddy bears and even
                                      teddy bears get drunk Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About