N1VUX is my FCC-issued ham radio callsign.
use Data::Dumper;
print Dumper([ # like...
{ X=>$^X}, # which perl
# but not fooled by #!
{V0 => "$]", # perl -v , ditto
V => $^V lt v5.9.0
? q(v).(join(q(.),
(map {ord}
split(//,$^V))))
: "$^V"},
{ ENV => \%ENV} , # like env
# but in actual context
{ INC =>\%INC} , # incomparable
]);
The ugly version of V for Version is to handle 5.6-5.9 v strings and 5.10+ version objects
without knowing which, if you don't want $] to mess up your syntax highlighting and don't want \005 to trip a terminal echoback string when it vString doesn't print.
My own Linked-In tips should be some place easy to reference and update instead of cut and paste, so -
Updates
Boston PM Tech Meeting
January 13, 2009 7:15 in MIT room E51-376 one last time
(changing to larger room next two months)
Table Driven Testing in Perl, as seen in Sort::Maker and Template::Simple - Uri Guttman (Yes, that Uri) http://boston.pm.org/kwiki/
NOTE - Lately the lot has filled early, overflow is to Hayward lots (avoid MEDICAL RESERVED spaces!). See alternatives on wiki .
MIT E51-376 (or thereabouts), June 10th, 7:15pm ET. directions
refreshments courtesy of CIDC.com (who is recruiting perl mongers locally)
Boston.pm will have a tech meeting on Tuesday, February 12, at MIT, in building E51, room 376 (directions below), starting at 7:15pm.
Martin Owens will be giving a presentation on one of his modules, Data::Validate::XSD.
http://search.cpan.org/~doctormo/Data-Validate-XSD-1.03/
This module allows the definition of complex data structures and allows validation against them. It is based on the W3C XSD definition, and does not use XML. Features include mirrored-errors (which describe failures in terms of their structural position and the effect on the parents) and minimal dependencies. Use cases include validation data sent to a webpage, validating data used in object creation, and validating XML parsed data.
RSVP to [Ronald] if you're planning to attend - rjk-bostonpm (at) tamias (d*t) net.
Pizza and soda for this meeting will be sponsored by Cambridge Interactive Development Corp. Thanks CIDC!
Ronald
[Forward by Bill / n1vux ]
For more information about Boston Perl Mongers, or to subscribe to one of
our mailing lists, visit our website at http://boston.pm.org/
One of the biggest problems in computer security is how to deal with logs. Firewall logs are especially difficult because they often run into the tens to hundreds of gigabytes, and searching them requires expensive, proprietary packages. The purpose of this paper is to help instruct the reader in how to use Postgres and Perl to have a queryable database using checkpoint log files. I do not cover other firewalls but the ideas herein could be applied to almost any firewall supporting output to text files. This paper will give the security practitioner to perform data mining on otherwise useless logfiles. Using the methods described in this document enabled the author to query for almost anything imaginable from a total of 450,000,000 records in under ten minutes. The cost: The cost of the hardware.
(Isn't something old, something new, for a different celebration?)
They mention in passing I18N as a key feature for prefering Perl to say PHP -- multiple languages in one website.
Happy Standard Time! Don't forget to change the smoke detector batteries today too.
Public safety used to push the Change your Clock, Change your Batteries. The twice a year tweak everything ritual as a convenient reminder that it's best to change smoke/CO detector batteries 2x/year is good, but with DST extended into November (which gives extra daylight for Trick-or-Treat, good),connection of Fire Prevention Month (October) and DST-FireAlarm is more tenuous.
So if you did it in October, please ignore this message
Otherwise, just consider today October 35th and the chore somewhat overdue.
I have a pricey LED flashlight that wilk run for months on the leftover power, so I can recycle the batts too. (Marked "U" for used with grease pencil when swapped out.) Which means one or the other is free
I g0t mine, the old Elight model, from http://www.eventors-now.com/default.asp at local ham shows, but they new models are available mailorder too
http://flashlightsunlimited.com/safelight.htm is newest model with new lower price http://flashlightsunlimited.com/survival.htm like the original