Code in Perl for pi calculation
17:16 02 Feb 2013

Could someone explain step by step this code in Perl:

$.=.5;
$\=2/$.++-$\for$...1e6;
print
perl