Do you know where your variables are? | |
PerlMonks |
Re: Reading an incoming Data Stream..by dragonchild (Archbishop) |
on Feb 25, 2002 at 21:08 UTC ( [id://147387]=note: print w/replies, xml ) | Need Help?? |
Better would be one of the two following snippets:
The first does a regex, avoiding the newline issue. The second removes the trailing newlines, then does a string comparison. ------ Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
In Section
Seekers of Perl Wisdom
|
|