in reply to Re^2: What is $::| ?
in thread What is $::| ?
It doesn't seem to be the same as $|.
How did you arrive at that conclusion?
Given that the vars in perlvar are package variables found in every package, they should be.
>perl -le"for (0,1,0) { $|=$_; print $|, ${'main::|'} }" 00 11 00
>perl -le"print \$| == \${'main::|'} ? 'same var' : 'diff var'" same var
Update: Added second snippet.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: What is $::| ?
by almut (Canon) on Feb 23, 2009 at 01:07 UTC | |
by ikegami (Patriarch) on Feb 23, 2009 at 01:42 UTC | |
by almut (Canon) on Feb 23, 2009 at 02:11 UTC |