Parse::Flexget - Parse the flexget program output
use Parse::Flexget qw(flexparse); open(my $fh, '<', "$ENV{HOME}/.flexget.log") or die($!); my @data = <$fh>; close($fh); print "$_\n" for flexparse(@data);
Parse::Flexget parses the output from flexget(1) and returns a list of successfully downloaded files. This module was initially written to be used together with File::Media::Sort and File::PatternMatch.
None by default.
Parameters: @content | \@content
Returns: @downloads
In list context, returns an array with all files downloaded by flexget.
In scalar context, returns the number of files downloaded by flexget.
File::Media::Sort, File::PatternMatch, flexget(1)
Magnus Woldrich CPAN ID: WOLDRICH m@japh.se http://japh.se
None required yet.
Copyright 2010, 2011 the Parse::Flexgets "AUTHOR" and "CONTRIBUTORS" as listed above.
This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
To install Parse::Flexget, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parse::Flexget
CPAN shell
perl -MCPAN -e shell install Parse::Flexget
For more information on module installation, please visit the detailed CPAN module installation guide.