Trying to understand from perldoc perldata the diff
between these 3 CLIs and why the 2nd CLI has no
elements?

$ perl -le 'use Data::Dumper; @c = (0,1)[1]; print
Dumper([EMAIL PROTECTED]);'
$VAR1 = [
          1
        ];

$ perl -le 'use Data::Dumper; @c = (0,1)[2]; print
Dumper([EMAIL PROTECTED]);'
$VAR1 = [];


$ perl -le 'use Data::Dumper; @c = (0,1)[0]; print
Dumper([EMAIL PROTECTED]);'
$VAR1 = [
          0
        ];


       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to