[SP-pm] WUT?!
Stanislaw Pusep
creaktive at gmail.com
Mon Feb 27 17:06:06 PST 2012
Boa, valeu Thiago :D
ABS()
On Mon, Feb 27, 2012 at 21:56, Thiago Yukio Kikuchi Oliveira <
stratust em gmail.com> wrote:
> > JAPH
> >
> > Que raios é isso?!
>
> Isso é uma Version String não um número pois tem mais de um "." e não
> tem quotes.
> Você pode adicionar um "v"na frente que dá na mesma.
>
> Version Strings retirado de perldoc (http://perldoc.perl.org/perldata.html
> ):
>
> "A literal of the form v1.20.300.4000 is parsed as a string composed
> of characters with the specified ordinals. This form, known as
> v-strings, provides an alternative, more readable way to construct
> strings, rather than use the somewhat less readable interpolation form
> "\x{1}\x{14}\x{12c}\x{fa0}" . This is useful for representing Unicode
> strings, and for comparing version "numbers" using the string
> comparison operators, cmp , gt , lt etc. If there are two or more dots
> in the literal, the leading v may be omitted."
>
>
> [ ]'s
>
> Thiago
> =begin disclaimer
> Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
> SaoPaulo-pm mailing list: SaoPaulo-pm em pm.org
> L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
> =end disclaimer
>
-------------- Pr�xima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://mail.pm.org/pipermail/saopaulo-pm/attachments/20120227/6369d78e/attachment.html>
More information about the SaoPaulo-pm
mailing list