- or download this
use Modern::Perl;
say +(split ':')[0] while (<DATA>);
- or download this
say FILEHANDLE LIST
print FILEHANDLE LIST
- or download this
$ perl -Mstrict -Mwarnings -E 'my @x = (1,2,3); say (@x)[1]'
say (...) interpreted as function at -e line 1.
syntax error at -e line 1, near ")["
Execution of -e aborted due to compilation errors.
- or download this
$ perl -Mstrict -Mwarnings -E 'my @x = (1,2,3); say STDOUT (@x)[1]'
2
- or download this
$ perl -Mstrict -Mwarnings -E 'my @x = (1,2,3); say +(@x)[1]'
2