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.
  • WTF is expand?

    % perldoc -f expand
    No documentation for perl function `expand' found


    • The weird code just through you off there. It's a key in a hash. If there was a fat comma (=>) to the right of "expand", that code would look and behave just fine.

      • Ah, I see. Except that it's not a key in a hash in that code, but a method.


        • A: I should have written "threw", not "through". I hate it when I do that. B: I know it's a method. That was the point of the original post :)

  • Not all that surprised, I assume that works the same way as:

    my $dog = new Dog;

    does. More not-much-used-syntax we should get rid of?

    (Hmm, print uses it, took me a while to figure which doc it's in, perlobj)

    Aren't typos fun?