[Israel.pm] P roblem with

Alex Behar alex-b at actcom.net.il
Sun Oct 17 06:39:11 PDT 2004

On Sunday 17 October 2004 14:30, Mosh M wrote:
| Do anyone have a clue about the aim of this section of code :
| while(($key,$val) = each %ENV){
|         print $key.":".$val."\n";
| }
equivalent to
foreach(keys %ENV){print $_.":".$ENV{'$_'}."\n"}

The difference between theory and practice, is that in theory, 
there is no difference between theory and practice.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://perl.org.il/pipermail/perl/attachments/20041017/609e19e3/attachment.pgp 

More information about the Perl mailing list