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.
  • That is so cool and useful, why have I not seen it before? I must re-read my Perl books, I must have missed tonnes of stuff like that.

    --
    -- "It's not magic, it's work..."
    • In 5.10, I don't think there's going to be a corresponding feature for this:

      $value //= $default;

      You still have to write:

      $value = $cgi->p($value) if defined $value;
      • This is one of the Perl 6 ideas that everyone wants back-porting I think.

        I see that &&= is explained on page 92 of my Programming Perl 2nd edition. Not coming from a c background I missed the utility of some of these.

        --
        -- "It's not magic, it's work..."