Cal-DAV
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Cal/DAV.pm view on Meta::CPAN
# we could then cache the resource object
sub new {
my $class = shift;
my %args = @_;
my %opts;
for (qw(user pass url)) {
die "You must pass in a $_ param\n" unless defined $args{$_};
$opts{"-${_}"} = $args{$_};
}
my $dav = HTTP::DAV->new;
$dav->credentials(%opts);
return bless { _dav => $dav, url => $args{url}, _auto_commit => $args{auto_commit} }, $class;
}
=head2 parse <arg[s]>
Make a new calendar object using same arguments as C<Data::ICal>'s C<new()> or C<parse()> methods.
Does not auto save for you.
Returns 1 on success and 0 on failure.
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.875 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )