[sf-perl] Constant in here doc?

Blake D. Mills IV blakem-sfpug at blakem.com
Fri Jun 10 01:58:26 PDT 2005


> > How does one use a constant in a here doc?
> You wanted @{[FOO]}

If you're golfing, there is also the one character shorter:
  ${\FOO}

-Blake


More information about the SanFrancisco-pm mailing list