NAME

Config::Apt::Sources - Parse and manipulate apt sources

VERSION

Version 0.01

SYNOPSIS

use Config::Apt::Sources;

my $srcs = Config::Apt::Sources->new();
$srcs->parse_stream(do { local $/; <> });
($srcs->get_sources())[0]->set_mirror("whee");
print $srcs->to_string();

FUNCTIONS

new

The Config::Apt::Sources constructor takes no arguments.

parse_stream

Parses the given string argument as the contents of an apt sources.list file.

to_string

Returns the sources.list as a string

get_sources

Returns an array of Config::Apt::SourceEntry objects

set_sources

Reads an array of Config::Apt::SourceEntry objects

AUTHOR

Ian Kilgore, <iank at cpan.org>

BUGS

Please report any bugs or feature requests to bug-config-apt-sources at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Config-Apt-Sources. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Config::Apt::Sources

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2007 Ian Kilgore, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.