<[EMAIL PROTECTED]> wrote: > ok, I found my error, it should be as follows if I want to > match number 6:- my $_ = 62; if( $_ =~ /^6$/){
Of course you could also just use "if( $_ == 6 )". HTH, Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/