Hello, Is it possible to do this kind of substitute to change ARE in 756, TYP in 978 (not with an if) ...:
$marque =~ s/(ARE|TYR|SPE)/(756|978|840)/; # don't bring the result I want. Thank you. Olivier -- GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...) jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>