in reply to (Ovid) Re(3): What's like $+ but not gives the ordinal?
in thread What's like $+ but not gives the ordinal?
That's not what happens when I try it. For example,- for ( 1 .. $num_refs ) { + for ( $num_refs .. 1 ) {
does not print the reverse ofperl -e "$n=5; for($n..1) { print }"
perl -e "$n=5; for(1..$n) { print }"
|
|---|