Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Thursday October 10, 2002
01:03 PM

Code review

[ #8304 ]

We're trying to find an open-source accounting package, preferably written in Perl, that we can integrate with some of our products. We have not been able to find any that seem to pass muster. I checked one today that, at first blush, looked like it might be acceptable. Then I started digging into the code and found many gems like the following.

    # Untaint $db, $args and $columns.
    $db =~ /(.*)/; $db = $1;
    $args =~ /(.*)/; $args = $1;
    $columns =~ /(.*)/; $columns = $1;
    $stripheader =~ /(.*)/; $stripheader = $1;
    my @entries = qx{ $ROW $args < $db $columns $stripheader };

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.