Seriously tho, that trick can be useful, interpolating constants (which really is calling subs) inside of a string, or more specifically a here doc can be nicer than precalculating and interpolating in.
It can be, but it does come with caveats. Aristotle and I had a short exchange about them once: Re^2: CGI and why?. Basically it boils down to "be wary of context."
I freely admit to using "@{[...]}" fairly regularly myself, though, so I don't mean to discourage it when it makes sense.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: Re: Re: Re: Re: Re: Small question: Why can't I print "@-"?
by sauoq
in thread Small question: Why can't I print "@-"?
by Not_a_Number
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |