Perl 5.8.0 on Solaris gives me 3338748. Perl 5.8.6 on Windows gives me 6742212.5.10.0 on Ubuntu 8.10 gives 451354452 B-) My thanks also to ikegami for the elucidation, but I am left wondering:
- what is it that m// is matching? The null string, presumably... so would that be different on the same machine at different times?
Answer: yes.
victor@pan:~$ perl -e 'print eval(+\//+\//+\//)."\n";' 411098964 victor@pan:~$ perl -e 'print eval(+\//+\//+\//)."\n";' 436080468 victor@pan:~$ perl -e 'print eval(+\//+\//+\//)."\n";' 415780692 victor@pan:~$
In reply to Re: eval'ing strange scalar
by jvector
in thread eval'ing strange scalar
by hbm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |