Stories
Slash Boxes
Comments
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by perrin (4270) on 2004.07.07 11:28 (#32226) Journal
    Perl's constants are just a total pain. There are so many ways to accidentally break them: using them as a hash key, putting them in a quoted string, etc. It's just not worth it in my opinion. I just use regular old scalars, all caps.

    However, you can make the arrow operator stuff work by calling SERVER_ERROR as SERVER_ERROR().