5.6 has a whole lot of sexy new features:
open my $fh, "< foobar" or die;
open my $fh, "<", $filename or die;
$str = v3.14; $str = 12.1.128.19; # v not needed if multiple dots
It's a subroutine that returns a value, but you can change that value!foo() = 5; print foo(); foo() *= 2; print foo();
Cheers;
Nat
In reply to Re: 5.6 versus 5.005
by gnat
in thread 5.6 versus 5.005
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |