perl -E'@n=7..9;$x=$n[i];say$x' 7
In this case, i is kinda evaluated as numeric :)
perl -MO=Deparse -E'@n=7..9;$x=$n[i];say$x' @n = 7..9; $x = $n[0]; say $x; -e syntax OK
In reply to Re^2: Read/Create files
by toolic
in thread Read/Create files
by TANYALYNN82
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |