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

use Perl Log In

Log In

[ Create a new account ]

advent (4699)

advent
  (email not shown publicly)

Journal of advent (4699)

Sunday December 07, 2003
06:45 PM

7th Dec 2003

[ #16207 ]
Comments for Perl Advent Calendar Entry 7th Dec 2003. Comments posted below may be displayed on perladvent.org.
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.
  • is Scalar::Properties, which also allows for attaching out-of-band information to scalars. While it can have some odd side-effects, it's easier to use.
  • I am really glad you included this example, since I was thinking on the previous Tied example that an Attribute autotie would be a useful helper for that one.

    I would find monitoring multiple variables all called $VAR1 frustrating. So I would want to extend the example to use the 2-arg version of Data::Dumper::Dump. Finger-painting, we can replace the Report loop with

    print Data::Dumper::Dump([@monitoring{sort keys %monitoring}],[sort keys %monitoring]);

    To do that, we need to capture the name of the moni

    --
    Bill
    # I had a sig when sigs were cool
    use Sig;