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.
  • 'Typing' your variables will not get you a speed increase unless the variable being typed is a pseudo-hash object and you're accessing the hash keys directly.

    IOW, don't bother.

    -dave
  • The lesson being "When a module says 'be sure to call dispose after you're done with an object', you do it!". Although, after I corrected the benchmark subs, I still wound up short 20 MB or so after all was said and done.

    Actually if you are using XML::Twig 3.00 or above and perl 5.6.1 or above you should read the part that advises you to install WeakRef [cpan.org] as it would remove the need to dispose ;--)