in reply to Re^3: Validate newline delimited email list
in thread Validate newline delimited email list

this gave me a software error, not sure how to deal with it:

Bareword "trim" not allowed while "strict subs" in use at...
  • Comment on Re^4: Validate newline delimited email list

Replies are listed 'Best First'.
Re^5: Validate newline delimited email list
by ikegami (Patriarch) on Jan 12, 2007 at 22:31 UTC
    Sounds like you added the call to the function, but not the function itself??
      i've added the function. adding 'sub trim;' to the top of my script gets rid of this error.

        i've added the function.

        Perl disagrees.

        adding 'sub trim;' to the top of my script gets rid of this error.

        sub trim; shifts the problem. As you can see, it didn't fix anything.

        I'm not sure why you keep making me guess. If *your code* doesn't work, show it!