"be consistent" | |
PerlMonks |
Re: Remove '$' from system namesby andye (Curate) |
on Mar 19, 2007 at 10:41 UTC ( [id://605452]=note: print w/replies, xml ) | Need Help?? |
srlowry, if you're confident that every line will have an unwanted character appended to the end of it, you can simply chop it off.
HTH, andye update: Looking at your code, it looks like you're using map in a way that's a little unusual. Instead of doing this:
you might want to consider using foreach instead of map:
best, andye
In Section
Seekers of Perl Wisdom
|
|