Monotone::AutomateStdio

Perl interface to Monotone via automate stdio
Download

Monotone::AutomateStdio Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Anthony Edward Cooper
  • Publisher web site:
  • http://search.cpan.org/~aecooper/

Monotone::AutomateStdio Tags


Monotone::AutomateStdio Description

Perl interface to Monotone via automate stdio Monotone::AutomateStdio is a Perl module that gives a Perl developer access to Monotone's automate stdio facility via an easy to use interface. All command, option and output formats are handled internally by this class. Any structured information returned by Monotone is parsed and returned back to the caller as lists of records for ease of access (detailed below). One also has the option of accessing Monotone's output as one large string should you prefer.The mtn automate stdio subprocess is also controlled by this class. A new subprocess is started, if necessary, when anything that requires it is called. The subprocess is terminated on object destruction or when $mtn->closedown() is called.All automate commands have been implemented in this class except for the `stdio' command, hopefully the reason is obvious. :-) Versions of Monotone that are supported by this class range from 0.35 up to and including the latest version (currently 0.43). If you happen to be using a newer version of Monotone then this class will hopefully largely work but without the support for new or changed features.SYNOPSIS use Monotone::AutomateStdio qw(:capabilities :severities); my(@manifest, $mtn, @revs); $mtn = Monotone::AutomateStdio->new("/home/fred/venge.mtn"); $mtn->select(@revs, "h:net.venge.monotone"); $mtn->get_manifest_of(@manifest, $revs) or die("mtn: " . $mtn->get_error_message()); Requirements: · Perl


Monotone::AutomateStdio Related Software