I ran into something today that I assumed was my bug, but indeed... it was
surprising behavior.

in a mason component, I had something like <% $handle->method(args) %>

The method in question returned one thing in a scalar context, another thing
in a list context.  Well, it thought that this should have been a list
context!  Obviously that's easy to work around, but it was a very surprising
thing to me.  Why are interpolations like that executed in list context?

--
Shane McCarron
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to