Sign In/My Account | View Cart  
advertisement

Article:
 Perl and XML on the Command Line
Subject: And don't forget PYX
Date: 2002-04-26 03:37:55
From: Grant McLean

Thanks Kip, I certainly picked up few handy tips
from this article.


Matt's XML::PYX is another module that provides
command line functionality. For example this one-liner prints statistics on how many times each element type occurs in a document:


pyx doc.xml | sed -n 's/^(//p' | sort | uniq -c



Previous Message Previous Message   Next Message Next Message


Sponsored By: