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.
  • Yup. It's one of those issues that continuously frustrates me when I work with other dynamic languages. There's nothing like writing this monstrosity to get block-level scoping in Javascript:

    (function() {
        // insert pain here
    } )();

    I can deal with issues like this in, say, Ruby, because I don't have to write Ruby if I really don't want to. I can't always get away with that in Javascript. (That being said, they're both really cool languages).

    • Oh yes, I am not saying these languages suck. (Well, C# kind of excepted, heh.) Goodness knows Perl has its flaws. (I actually like Javascript better in a variety of ways.) It’s just a seemingly minor thing that matters more than one would expect – you really only notice when you miss it, and then it bites hard.