XP is just a number | |
PerlMonks |
Re: add a character at the end of a stringby reasonablekeith (Deacon) |
on Dec 13, 2005 at 11:27 UTC ( [id://516286]=note: print w/replies, xml ) | Need Help?? |
I always do it like this...
although there are countless other ways. This one works by matching a trailing slash (if there is one) and 'replacing' it with a new trailing slash. an alternative would be as follows..
--- my name's not Keith, and I'm not reasonable.
In Section
Seekers of Perl Wisdom
|
|