GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Toader::Entry::Cache(3) User Contributed Perl Documentation Toader::Entry::Cache(3)

Toader::Entry::Cache - Misc helper methods for entries.

Version 0.0.0

This initializes this object.

On argument is required and it is a Toader object.

    my $foo = Toader::Entry::Cache->new( $toader );
    if($foo->error){
        warn('error: '.$foo->error.":".$foo->errorString);
    }

This returns the SQLite file that contains the cache for this directory.

    my $cacheFile=$foo->cachefile;
    if($foo->error){
        warn('error: '.$foo->error.":".$foo->errorString);
    }

This connect to the SQLite database containing the cache and returns the database handler.

    my $dbh=$foo->connect;
    if($foo->error){
        warn('error: '.$foo->error.":".$foo->errorString);
    }

Deletes a specified entry from the cache.

One argument is taken and the is the name of the entry.

        $foo->deleteEntry( $entryName );
    if($foo->error){
        warn('error: '.$foo->error.":".$foo->errorString);
    }

This disconnect from the SQLite database containing the cache and returns the database handler.

    my $dbh=$foo->connect;
    if($foo->error){
        warn('error: '.$foo->error.":".$foo->errorString);
    }

This checks if the cache needs initialized for the directory. If it does need initialized it will do so.

    $foo->init
    if($foo->error){
        warn('error: '.$foo->error.":".$foo->errorString);
    }

Re-initializes the SQLite database. This will connect to it, drop the tables, and then recreate the tables.

    $foo->reinit;
    if($foo->error){
        warn('error: '.$foo->error.":".$foo->errorString);
    }

This sets the directory to operate on.

One argument is required. It is the directory to use.

    $foo->setDir($directory);
    if($foo->error){
        warn('error: '.$foo->error.":".$foo->errorString);
    }

Updates the cache for all entries in that directory.

    $foo->updateAll;
    if ( $foo->error ){
        warn( 'error:'.$foo->error.':'.$foo->errorString );
    }

Updates the cache for the passed entry.

One argument is taken and that is the Toader::Entry object that the cache is being updated for.

        $foo->updateEntry( $entry );
    if($foo->error){
        warn('error: '.$foo->error.":".$foo->errorString);
    }

The object supplied for the Toader object.

The supplies object is not a Toader object.

Toader::Entry::Manage->new errored.

Failed to get Toader::VCS object.

Toader::VCS->usable errored.

Nothing was passed as a directory.

The specified directory is not a Toader directory.

No dir has been set yet.

No entry was specified to processes. This needs to be a Toader::Entry object.

Not a Toader::Entry object.

Failed to initialize the SQLite database via DBI->connect.

Error with DBI->do.

Failed when calling Toader::Entry::Manage->setDir.

Failed when calling Toader::Entry::Manage->list.

Failed when calling Toader::Entry::Manage->read.

No entryName was specified to processes. This id different from noEntrySpecified as noEntrySpecified requires a Toader::Entry object and this just requires a entry name.

Toader::VCS->underVCS errored.

Toader::VCS->add errored.

Zane C. Bowers-Hadley, "<vvelox at vvelox.net>"

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

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

    perldoc Toader::Entry::Cache

You can also look for information at:

  • RT: CPAN's request tracker

    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Toader>

  • AnnoCPAN: Annotated CPAN documentation

    <http://annocpan.org/dist/Toader>

  • CPAN Ratings

    <http://cpanratings.perl.org/d/Toader>

  • Search CPAN

    <http://search.cpan.org/dist/Toader/>

Copyright 2014 Zane C. Bowers-Hadley.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

2014-03-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.