El Tuesday 19 August 2008 21:15:27 Dr.Ruud va escriure:
> Xavier Mas schreef:
> > Dr.Ruud:
> >> Xavier Mas:
> >>> m#(pattern)#;
> >>> $variable= $1.;
> >>
> >> That can be written as:
> >> ($variable) = /(pattern)/;
> >
> > Thank you for pointing that, Dr. Ruud but, what does mean
> > ($variable)?.
>
> /(pattern1).*?(pattern2)/ returns the matches in list context, and the
> number of matches (so 0 or 2) in scalar context.
>
> Just try it with some test code.
>
> --
> Affijn, Ruud
>
> "Gewoon is een tijger."
Thank you Ruud!.
--
Xavier Mas
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/