Petit pb en perl
Fermé
hillel & j-om
-
14 janv. 2003 à 17:47
Bobinours Messages postés 2898 Date d'inscription jeudi 26 avril 2001 Statut Membre Dernière intervention 21 mars 2013 - 14 janv. 2003 à 19:29
Bobinours Messages postés 2898 Date d'inscription jeudi 26 avril 2001 Statut Membre Dernière intervention 21 mars 2013 - 14 janv. 2003 à 19:29
1 réponse
Bobinours
Messages postés
2898
Date d'inscription
jeudi 26 avril 2001
Statut
Membre
Dernière intervention
21 mars 2013
504
14 janv. 2003 à 19:29
14 janv. 2003 à 19:29
Ca me parait pas mal. Remplace le \s par un espace :
if (@tab[i]=~ s/\w#\w/ /g) {
print(@tab[i])
};
Quelques liens :
http://www.perldoc.com/perl5.6/pod/perlre.html
http://www.enstimac.fr/Perl/DocFr/perlre.html
http://japhy.perlmonk.org/book/ (top mais complexe)
-= Bobinours - http://bobin.underlands.org =-
if (@tab[i]=~ s/\w#\w/ /g) {
print(@tab[i])
};
Quelques liens :
http://www.perldoc.com/perl5.6/pod/perlre.html
http://www.enstimac.fr/Perl/DocFr/perlre.html
http://japhy.perlmonk.org/book/ (top mais complexe)
-= Bobinours - http://bobin.underlands.org =-