Subject: | Issues with quoting |
This kind of works:
use strict;
use warnings;
use Hades;
Hades->run({
eval => q{
Foo {
get_open_bracket { return "{"; }
get_close_bracket { return "}"; }
}
},
});
But the strings returned by the generated methods have extra whitespace in them which shouldn't be there.
This totally fails to compile:
use strict;
use warnings;
use Hades;
Hades->run({
eval => q{
Foo {
get_close_bracket { return "}"; }
get_open_bracket { return "{"; }
}
},
});