On Sun, Apr 29, 2001 at 04:34:40AM -0400, Philip Mak wrote: > > I was thinking something like > > sub XMLEncode { local $_ = shift; > s/&/&/g; > s/</</g; > s/>/>/g; > return $_; > } -- ------------------------------------------------------------------------ Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, DBI, Oracle, MySQL, auth. WWW servers, DBD::XBase. ------------------------------------------------------------------------
- [OT] How to write this perl sub w/o variables? Philip Mak
- Re: [OT] How to write this perl sub w/o variables? Honza Pazdziora
- Re: [OT] How to write this perl sub w/o variables? Stas Bekman