Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Validate newline delimited email list

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


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

shouldn't chomp() remove the trailing space? i've tried chomp($_) and it looks like the space is still there.

i've tried your suggestion above, and it doesn't seem to populate $_
  • 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:52 UTC
    No. chomp doesn't remove trailing spaces.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2022-05-25 20:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (90 votes). Check out past polls.

    Notices?