[SP-pm] Embalão [Was: S.O.S]
Igor Sutton Lopes
igor.sutton em gmail.com
Quinta Maio 10 13:12:10 PDT 2007
On May 10, 2007, at 4:12 PM, Wendel Scardua wrote:
>
> On 5/10/07, "Iberê O. Kuntz de Souza" <kuntzzz em gmail.com> wrote:
> > 1. Para de usar Perl 4.0, isso é velho;
> perl -v
>
> This is perl, v5.8.8 built for i686-linux
> > 2. RTFM, eu uso assim faz 8 anos e não dá warnings;
>
> perl -we'my $dir = "."; opendir my $DIR, $dir;'
> Parentheses missing around "my" list at -e line 1.
>
> perl -we'my $dir = "."; opendir my $DIR, $dir or die $!;'
>
> Não causou warning nenhum...
Interessante:
elvis:~ igorsutton$ perl -MO=Deparse -we '$dir = q{.}; opendir my
$file, $dir'
BEGIN { $^W = 1; }
$dir = '.';
opendir my $file, $dir;
-e syntax OK
elvis:~ igorsutton$ perl -MO=Deparse -we '$dir = q{.}; opendir my
$file, $dir;'
Parentheses missing around "my" list at -e line 1.
BEGIN { $^W = 1; }
$dir = '.';
opendir my $file, $dir;
-e syntax OK
Descubram o que é ;-)
--
Igor Sutton
igor.sutton em gmail.com
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://mail.pm.org/pipermail/saopaulo-pm/attachments/20070510/f70034b1/attachment-0001.html
-------------- Próxima Parte ----------
Um anexo não texto foi limpo...
Nome : PGP.sig
Tipo : application/pgp-signature
Tam : 186 bytes
Descr.: This is a digitally signed message part
Url : http://mail.pm.org/pipermail/saopaulo-pm/attachments/20070510/f70034b1/attachment-0001.bin
Mais detalhes sobre a lista de discussão SaoPaulo-pm