Re: URL->abs bug.

Axel Ramge (axel@ramge.de)
Tue, 5 Aug 1997 09:53:13 +0200


This was a little bit too fast.
 > May be the most pragmatic solution would be to remove whitespace only
 > `in context', i.e. at the end (+beginning?) of a line: s/\s*$//smg

$_ =<<'EOF';
http://www.nowhere.com/foo-
bar/sleeping/
with
/socks    on your feet
/end of this stupid url
EOF

s/-?\s*^//smg;		# rfc1738 says `around' the hyphen...
s/ /\%20/sg;


Axel