[SP-pm] WUT?!
Thiago Yukio Kikuchi Oliveira
stratust at gmail.com
Mon Feb 27 16:56:39 PST 2012
> 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
More information about the SaoPaulo-pm
mailing list