[Pdx-pm] subroutine calls CAN be string-interpolated!

Ovid publiustemp-pdxpm at yahoo.com
Sat Dec 10 12:45:22 PST 2005

--- Eric Wilhelm <scratchcomputing at gmail.com> wrote:

> And you thought they had to be concatenated with that messy 
> quote-breaking " . thing($stuff) . " syntax.
>   perl -e 'use constant foo => 7, 6; print "foo:  @{[foo]}\n";'
> Is this undocumented or just obscure?
>   http://use.perl.org/~Eric%20Wilhelm/journal/27926

I think it's pretty common.  Ugly, but common.  (At least, I've used it
a lot and I've seen it used a lot with my current and previous


If this message is a response to a question on a mailing list, please send
follow up questions to the list.

Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

More information about the Pdx-pm-list mailing list