Orson schreef:
> Dr.Ruud:

>> my $digit = q{\d};
>> my $wsp = q{\s};
>> 
>> my $pt = qr{ $digit $wsp $digit }x;
>> print $pt;
> 
> But once I get it in variable $pt, what syntax to use 
> for the if (/$pt/) statemet?

That syntax is ok. Again: read the documentation of qr. 

-- 
Affijn, Ruud

"Gewoon is een tijger."

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to