--- [EMAIL PROTECTED] wrote:
> context". How do you evaluate a block in scalar context? Any light on
> this ( or a pointer ) maybe?
print { *STDOUT } "foo\n";
This is looking at the block to return the filehandle to which the
output should go. Surely that argument is in a scalar context, seperate
from the printables?
If not, I'd love to see an example myself.
Wouldn't any block tend to fall back to the context in which it was
called? They're just usually void because nobody cares what they're
context is, or list because they're in a grep/map/split/etc. which
works on lists.
Comments?
Edification?
__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/