At 16.26 -0500 1999.02.09, Thierry Leveque wrote: >$contenu[$i] =~ s/%%admin_mailbox/$cgi->param('admin_mailbox')/; > >The "%%admin_mailbox" is replace with >"CGI=HASH(0x25f660c)->param('admin_mailbox')"!!!!! Try using the /e modifier: $contenu[$i] =~ s/%%admin_mailbox/$cgi->param('admin_mailbox')/e; This means to evaluate the replacement string as a Perl expression. See man perlre (Regular Expressions under Help) for more information (or the O'Reilly book Mastering Regular Expression, if you are so inclined to learn as much as possible :). -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch