Hi all,

I have a issue with a regex including two numbers :

Explanation:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
my $range_schedule_month	= [0-1][0-2] ;
 
chomp ($schedule_month = <STDIN>);
last if ( $schedule_month =~ m/$range_schedule_month/) ;
Idea is that user have tu put STDIN number beetween "00 and 12" but no "00".

I have tried various things without success.

Does anyone have the solution ?

(I also speak french and spanish)