in reply to Re^5: Line numbers
in thread Line numbers
> say $package, $filename, $line, $subroutine, $hasargs,$wantarray, $evaltext, $is +_require, $hints, $bitmask, $hinthash,[0];
nope, and you're showing valid code! After the last comma comes a literal arrayref [0].
DB<100> print $a,[0]; ARRAY(0x84e16b8)
the syntax-error comes from appending [0] unseparated to a function call say().
and nothing is "expanded" at parsing time.
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Line numbers
by gg48gg (Sexton) on Mar 19, 2012 at 17:42 UTC | |
by LanX (Saint) on Mar 19, 2012 at 18:22 UTC | |
by gg48gg (Sexton) on Mar 19, 2012 at 19:02 UTC |