[SP-pm] WUT?!

Stanislaw Pusep creaktive at gmail.com
Mon Feb 27 16:29:32 PST 2012


Acidentalmente, descobri uma sintaxe inusitada:

$ perl -E 'say 74.65'
74.65

$ perl -E 'say 74.65.80'
JAP

$ perl -E 'say 74.65.80.72'
JAPH

Que raios é isso?!

$ perl -MO=Concise -E 'say 74.65.80.72'
6  <@> leave[1 ref] vKP/REFC ->(end)
1     <0> enter ->2
2     <;> nextstate(main 47 -e:1) v:%,{,2048 ->3
5     <@> say vK ->6
3        <0> pushmark s ->4
4        <$> const(PVMG "JAPH") s ->5
-e syntax OK
-------------- Pr�xima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://mail.pm.org/pipermail/saopaulo-pm/attachments/20120227/3bfaebb0/attachment.html>


More information about the SaoPaulo-pm mailing list