Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Validate newline delimited email list

by philosophia (Sexton)
on Jan 12, 2007 at 22:08 UTC ( #594471=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://594471]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2022-05-25 03:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?