[SP-pm] printenv em perl?

Thiago Glauco Sanchez thiagoglauco at ticursos.net
Sun Jun 20 13:34:20 PDT 2010


Em 20/06/2010 15:25, Nelson Ferraz escreveu:
> Em 20 de junho de 2010 20:15, jimmy<jimmy.tty em gmail.com>  escreveu:
>    
>> Saudações amigos,
>>
>> Ando procurando uma forma de fazer em perl algo parecido com o comando
>> printenv do coreutils faz no shell
>>      
> Let me google that for you:
>
> http://lmgtfy.com/?q=printenv+perl
> _______________________________________________
> SaoPaulo-pm mailing list
> SaoPaulo-pm em pm.org
> http://mail.pm.org/mailman/listinfo/saopaulo-pm
>
>    

Você está procurando algo como:

perl -M5.12.0 -e 'map { say "$_ =>  $ENV{$_}" } keys %ENV'

????

-- 
Thiago Glauco Sanchez
Intrutor Perl e Redes
www.ticursos.net



More information about the SaoPaulo-pm mailing list