in reply to Re: Stumped when passing barewords
in thread Stumped when passing barewords
Yes, if you read perlsub on prototypes carefully it would appear that "*" forces scalar context in the same way that "$" would. Might be worth someone working up an extra sentence which makes an explicit mention of the fact and submitting a patch to p5p.
Update: And I've just submitted said doc patch.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Scalar context changes bareword value?
by crenz (Priest) on Apr 22, 2004 at 13:27 UTC | |
by Fletch (Bishop) on Apr 22, 2004 at 13:30 UTC | |
by crenz (Priest) on Apr 22, 2004 at 13:35 UTC | |
by Fletch (Bishop) on Apr 22, 2004 at 13:45 UTC |