<html><body><div id="sub-body-container" style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229);">&gt;&nbsp;<br>&gt; Ce qui donne <br>&gt; I could not parse a version number from its output. Sorry, I give up. <br><br>Pour info, le code concerné est ici&nbsp;: <br><a href="https://metacpan.org/dist/Alien-Gnuplot/source/lib/Alien/Gnuplot.pm#L319" target="_blank" rel="noopener noreferrer" data-href="https://metacpan.org/dist/Alien-Gnuplot/source/lib/Alien/Gnuplot.pm#L319">https://metacpan.org/dist/Alien-Gnuplot/source/lib/Alien/Gnuplot.pm#L319</a></div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;">Oui, c'est ce code que je teste</div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;">&nbsp;<br><br>&gt; Donc la reponse gnuplot n'est pas correcte par rapport a ce qui est attendu. <br><br>Gnuplot répond avec "Version 6.0.3 patchlevel 3" mais, visiblement, <br>Alien::Gnuplot s'attend à une chaîne "Version 6.0 patchlevel 3".</div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;">Non, Le premier test est : $lines =~ s/\s*G N U P L O T\s*// &nbsp;or &nbsp;die</div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;">Le version n'est testee que dans</div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;">$lines =~ m/Version (\d+\.\d+) (patchlevel (\d+))?/ or die</div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;">La il y a un probleme car il doit tester "6.0.3"</div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;">ca semble OK avec : $lines =~ m/Version (\d+\.\d+\.\d+) (patchlevel (\d+))?/ or die</div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;">Comment je peux detecter</div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;">6.0&nbsp; ou 6.0.3 ?</div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;">&nbsp;</div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;">&nbsp;</div>
<div style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left: 2px solid rgb(195, 217, 229); font-family: 'verdana'; font-size: 12px; color: #000000;"><br><br>Emmanuel <br>_______________________________________________ <br>Perl mailing list <br>Perl@mongueurs.net <br><a href="http://listes.mongueurs.net/mailman/listinfo/perl" target="_blank" rel="noopener noreferrer" data-href="http://listes.mongueurs.net/mailman/listinfo/perl">http://listes.mongueurs.net/mailman/listinfo/perl</a> <br>Attention, les archives sont publiques </div></body></html>