Galera esta sintaxe sempre me deixou confuso, alguem pode dar uma esclarecida?
Olhando o exemplo do TheSchwartz no Cpan - [ http://search.cpan.org/~sixapart/TheSchwartz-1.10/lib/TheSchwartz.pm ] nesse caso: my TheSchwartz::Job $job = shift; Para que serve isso? No perldoc eu li que "The exact semantics and interface of TYPE and ATTRS are still evolving. TYPE is currently bound to the use of the fields pragma" mas não encontrei nenhuma referencia a pragma fields. Pra que isso? -- Tiago B. Peczenyj Linux User #405772 http://pacman.blog.br =begin disclaimer Sao Paulo Perl Mongers: http://sao-paulo.pm.org/ SaoPaulo-pm mailing list: [email protected] L<http://mail.pm.org/mailman/listinfo/saopaulo-pm> =end disclaimer
