• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

10. Unconventional Feeds > 10.8. Installed Perl Modules

Installed Perl Modules

Another interesting way to use a Feed is to keep track of changing system configurations. The following is a simple example. I have two machines running my scripts; one is my laptop and the other a server in a rack somewhere in North America. I write mostly in Perl and use a lot of modules. It’s useful to me to keep track of what’s installed, and what’s not, on each; this script produces a feed of the modules I have installed.

Walking Through the Code

We’ll use the usual modules plus one more, ExtUtils::Installed . Written by Alan Burlison, this module really does all the work here. Again, this is somewhat the point of this chapter. Feeds aren’t difficult things, and they are incredibly useful interfaces to list-like data.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint