2006-08-20

Completely Missing the Entire Point of the Concept

Writing code like this makes the baby Jesus cry:

if ($vmaildir ne "none") {
    &debug("e_v_r: quarantine 
    msg to $scandir/quarantine/$vmaildir/new/$file_id");
    link("$scandir/$wmaildir/new/$file_id",
    "$scandir/quarantine/$vmaildir/new/$file_id")
    ||
    &error_condition("cannot link 
    $scandir/$wmaildir/new/$file_id into 
    $scandir/quarantine/$vmaildir/new/ - $!");
}

The above writes a file directly into a Maildir's "new" folder.

No no no no no no! Bad coder! No sugar for you!

No comments: