Quantcast
Channel: Book Zone - Perl
Browsing all 25 articles
Browse latest View live

HTML Entities - Decoding - Perl One-liner

// Perl one-liner to expand HTML entities like &amp;<code> perl -i.bak -pe "BEGIN { use HTML::Entities;} HTML::Entities::decode($_); " filename</code> XML 13027 ...

View Article


Sort Twiki Access Log By Hits Per Host Each Day

Produce output like this: Date: 19/Mar/2011 auckland.co.nz : 60343 tryphena.co.nz : 54 okupu.co.nz : 4 Date: 20/Mar/2011 auckland.co.nz : 60354 tryphena.co.nz : 49 claris.co.nz : 49 ...

View Article


How To Enable JMX With Authentication

// This will enable jmx in port 5555 with authentication enabled. In windows systems you may get an exception related to file access permissions. To solve <a...

View Article

Daily Dose: Release of Jive 4.5.6

Release of Jive 4.5.6New Perl 5.14 Unveiled Talend to Sponsor Apache Software FoundationRed Hat and JBoss Innovators of the Year Announced!

View Article

Month Day Year Smart Dropdowns

// Month Day Year Smart Dropdowns<code> function mdy($mid = "month", $did = "day", $yid = "year", $mval, $dval, $yval) { if(empty($mval)) $mval = date("m"); if(empty($dval)) $dval = date("d");...

View Article

Browsing all 25 articles
Browse latest View live