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

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.
  • I mean, I use "HASH(0x1731300)HASH(0x174c918)" all the time.

    I think I saw it on the fourth read-through.

    If not a syntax error, at least a warning.

    -- dagolden

    • Personally, I think that this is an example of something which should be another type of compile time error, which we don't have: semantic error. Specifically, the language technically allows it, but it has meaning that nobody would ever conceivably want.

      As I understand that what I can conceive is limited, I'd probably add a runtime option to perl to disregard semantic errors. However, without that option, I'd have it complain about interpolating the literal hash and exit immediately.