Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Mark Leighton Fisher (4252)

Mark Leighton Fisher
  (email not shown publicly)

I am a Systems Engineer at Regenstrief Institute []. I also own Fisher's Creek Consulting [].
Thursday May 03, 2007
12:00 PM

Perl 6: HEREDOCS Have Changed

[ #33189 ]

A note to myself and others who have had trouble with HEREDOCs in Perl 6: the syntax has changed. Try something like:

say q:to/endSAY/;
class Config;
# Pugs/Perl 6 configuration, autogenerated from pugs -V.

# our configuration info
my %Config = (

instead of using "<<". (Note the "q" followed by ":to" followed by the terminator "/endSAY/"...)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.