Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Should chomping a constant always raise an error?by BigLug (Chaplain) |
on Mar 11, 2005 at 03:20 UTC ( [id://438519]=note: print w/replies, xml ) | Need Help?? |
Personally, it makes a lot of sense. Sure if there's no need to chomp a value then it shouldn't hurt. However the function *must* be assuming the input it to be modifyied in some way otherwise you'd not pass a value to it that you expect to be modified.
Cheers! Rick If this is a root node: Before responding, please ensure your clue bit is set. If this is a reply: This is a discussion group, not a helpdesk ... If the discussion happens to answer a question you've asked, that's incidental.
In Section
Seekers of Perl Wisdom
|
|