Bo Mangor wrote:

> 
> But how does it work?   "if(string =~/^[0-9]/)"
> 
> The part     string =~/^[0-9]/  - does it split the string into single
> numbers and check if each of them is a part of the list [0-9] ?? 
> I want to be scour that I have understood the Principe correct.


i would suggest reading the perl faq on regular expressions:

http://www.perldoc.com/perl5.6/pod/perlfaq6.html

or buying a book on them:

http://www.oreillynet.com/search/index.ncsp?sp-q=mastering+regular+expressions&sp-k=all



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to