in reply to Re: creating an xml file from perl
in thread creating an xml file from perl

Escaping would be safer using URI::Escape:
use URI::Escape; my $escaped_file = uri_escape($nfile);

Flavio (perl -e "print(scalar(reverse('ti.xittelop@oivalf')))")

Don't fool yourself.

Replies are listed 'Best First'.
Re^3: creating an xml file from perl
by ikegami (Patriarch) on Apr 14, 2005 at 14:11 UTC
    Shoot, I forgot about that. Actually, it needs to be URI escaped and HTML value escaped. However, since uri_escape removes '"' and '&' by default, HTML value escaping is a no-op.