in reply to split function

Jeffa has the answer, but just for you to know :

change
  print TEXT;
to
  print TEXT "$description $UIC1 $UIC2 $UIC3\n";

You're currently printing $_ (ie what you're reading !) that's why there's no change...


"Only Bad Coders Code Badly In Perl" (OBC2BIP)

Replies are listed 'Best First'.
Re: Re: split function
by belg4mit (Prior) on Nov 12, 2001 at 22:16 UTC
    This will give blank lines (if on UN*X). He isn't chomping so $UIC3 already has a newline...

    <bold>UPDATE</bold>: Originally neglected to negate the conjugated to be