in reply to Re: octal number mysteriously changes after pass to subroutine
in thread octal number mysteriously changes after pass to subroutine
Here's another conundrum, why don't these behave the same:
438perl -le '$n=0666; print $n'
0666perl -le '$n=shift; print $n' 0666
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: octal number mysteriously changes after pass to subroutine
by Corion (Patriarch) on Feb 01, 2023 at 19:48 UTC | |
|
Re^3: octal number mysteriously changes after pass to subroutine
by LanX (Saint) on Feb 02, 2023 at 00:55 UTC | |
|
Re^3: octal number mysteriously changes after pass to subroutine
by ikegami (Patriarch) on Feb 01, 2023 at 21:01 UTC |