On Mon, 2008-09-22 at 11:08 -0700, John W. Krahn wrote: > Paolo Gianrossi wrote: > > what about > > > > $code =~ tr/['"]/["']/; > > Why are you also replacing '[' with '[' and ']' with ']'? > > Perhaps you meant: > > $code =~ tr['"]["']; > > Wooops you're right... Sorry for the slightly wrong info...
And also, sorry for top posting before :) cheers paolino > > John > -- > Perl isn't a toolbox, but a small machine shop where you > can special-order certain sorts of tools at low cost and > in short order. -- Larry Wall > -- Paolo Gianrossi Softeco Sismat S.p.A. - R&D Division via De Marini 1, 16149 Genova Tel: +39 010 6026 332 - Fax: +39 010 6026 350 E-Mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
