in reply to Add Null values to my FlatFile

would this do?
print LOGFILE ("\t"."$FORM{$key}" or "BLANK");
the hardest line to type correctly is: stty erase ^H

Replies are listed 'Best First'.
Re^2: Add Null values to my FlatFile
by lakeTrout (Scribe) on Nov 26, 2007 at 22:08 UTC
    Thanks aquarium,

    I tried that, but sadly it didn't work. I think I had an epiphany, I'm going to update my original note. It appears when I add \n (line feeds, whatever) to my textareas, things go wrong from there.
      then a bit of additional code can still make the short-circuit OR work, e.g.
      print LOGFILE ("\t".($FORM{$key}=~/[a-zA-Z0-9])?"$FORM{$key}:"BLANK")) +;
      untested...you get the idea
      the hardest line to type correctly is: stty erase ^H
        GOT IT! Thanks!