[Chicago-talk] Sharing my pain

Jonathan Rockway jon at jrock.us
Sun Oct 15 00:05:46 PDT 2006

> He was **USING A SHELL ESCAPE TO HIT THE DATABASE!!**  That would have been
> bad enough had he done it in only one place... but no.  He did it
> EVERYWHERE, in all four Perl, PHP, Python, and Ruby.

OTOH, Larry Wall suggests this:

my $file = `cat $filename`;

And I use this:

my $website = `curl $url`;

Perfect?  No.  Fast to type? Yes.

Not everything is an enterprise web 2.0 uber-efficient app.

In your case, though, the "production" code probably wasn't throwaway, so 
maybe someone should mention DBI to the guy :)

package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/chicago-talk/attachments/20061015/c59c4223/attachment.bin 

More information about the Chicago-talk mailing list