Taking one program (a character frequency analyzer) and
using it with another program (an LWP::Simple script to
grab a website and show its code), I was able to use a
pipe to count the character frequency of the output of the
html code.
There are limitless possibilities with this technique.perl lwpprogram.pl | perl characteranalyzer.pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using pipes to combine scripts
by artist (Parson) on Nov 17, 2006 at 13:07 UTC | |
by blazar (Canon) on Nov 18, 2006 at 08:37 UTC | |
|
Re: Using pipes to combine scripts
by esk555 (Beadle) on Nov 17, 2006 at 18:18 UTC | |
by blazar (Canon) on Nov 18, 2006 at 08:32 UTC | |
by esk555 (Beadle) on Nov 18, 2006 at 19:06 UTC | |
by blazar (Canon) on Nov 19, 2006 at 08:48 UTC | |
by bart (Canon) on Nov 19, 2006 at 22:58 UTC | |
| |
by esk555 (Beadle) on Nov 19, 2006 at 12:17 UTC | |
|