geo::googleearth::pluggable::folder(3pm) [debian man page]
Geo::GoogleEarth::Pluggable::Folder(3pm) User Contributed Perl Documentation Geo::GoogleEarth::Pluggable::Folder(3pm)NAME
Geo::GoogleEarth::Pluggable::Folder - Geo::GoogleEarth::Pluggable::Folder object
SYNOPSIS
use Geo::GoogleEarth::Pluggable;
my $document=Geo::GoogleEarth::Pluggable->new;
my $folder=$document->Folder(name=>"My Folder");
DESCRIPTION
Geo::GoogleEarth::Pluggable::Folder is a Geo::GoogleEarth::Pluggable::Base with a few other methods.
USAGE
my $folder=$document->Folder(); #add folder to $document
my $subfolder=$folder->Folder(); #add folder to $folder
METHODS
initialize
We overide the default "initialize" method in order to append the "plugins" method from Module::Pluggable on to the packages list of the
Method::Autoload package.
The "packages" property is what is needed by Method::Autoload package. The "plugins" method is what is provided by Module::Pluggable. So,
the Folder package now has available to it every method in the "Plugins" folder at runtime.
Folder
Constructs a new Folder object and appends it to the parent folder object. Returns the object reference if you need to make any setting
changes after construction.
my $folder=$folder->Folder(name=>"My Folder");
$folder->Folder(name=>"My Folder");
NetworkLink
Constructs a new NetworkLink object and appends it to the parent folder object. Returns the object reference if you need to make any
setting changes after construction.
$folder->NetworkLink(name=>"My NetworkLink", url=>"./anotherdoc.kml");
LookAt
Constructs a new LookAt object and returns the object reference to assign to other object "lookat" properties.
$document->LookAt(
latitude => $lat, #decimal degrees
longitude => $lon, #decimal degrees
range => $range, #meters
tilt => $tilt, #decimal degrees from veritical
heading => $header, #decimal degrees from North
);
type
Returns the object type.
my $type=$folder->type;
node
data
Pushes arguments onto data array and returns an array or reference that holds folder object content. This is a list of objects that
supports a type and structure method.
my $data=$folder->data;
my @data=$folder->data;
$folder->data($placemark);
open
BUGS
Please log on RT and send to the geo-perl email list.
LIMITATIONS
Due to limitations in Perl hashes, it is not possible to specify the order of certain elements and attributes in the XML.
TODO SUPPORT
Try geo-perl email list.
AUTHOR
Michael R. Davis (mrdvt92)
CPAN ID: MRDVT
COPYRIGHT
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
Geo::GoogleEarth::Pluggable, Module::Pluggable Method::Autoload, XML::LibXML::LazyBuilder
perl v5.14.2 2011-06-26 Geo::GoogleEarth::Pluggable::Folder(3pm)
Check Out this Related Man Page
Test::Folder(3pm) User Contributed Perl Documentation Test::Folder(3pm)NAME
Test::Folder - test folder attributes
SYNOPSIS
use Test::More ...;
use Test::Folder;
DESCRIPTION
This modules provides a collection of test utilities for folder attributes. Use it in combination with Test::More in your test programs.
FUNCTIONS
folder_exists_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder exists, and not ok otherwise.
folder_not_exists_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder does not exist, and not ok otherwise.
folder_empty_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is empty (contains no files or subfolders), and not ok otherwise.
folder_not_empty_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is not empty (contains any files or subfolders), and not ok otherwise.
folder_readable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is readable, and not ok otherwise.
folder_not_readable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is not readable, and not ok otherwise.
folder_writable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is writable, and not ok otherwise.
folder_not_writable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is not writable, and not ok otherwise.
folder_executable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is executable, and not ok otherwise.
folder_not_executable_ok(FOLDERNAME [, TESTNAME] )
Ok if the folder is not executable, and not ok otherwise.
TO DO
There are probably some more folder attributes that can be tested. If you need them, please ask (or better yet, contribute code!).
AUTHOR
Martin 'Kingpin' Thurn, "mthurn at cpan.org", <http://tinyurl.com/nn67z>.
BUGS
Please report any bugs or feature requests to "bug-test-dir at rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Dir>. 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 Test::Folder
You can also look for information at:
o RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Dir>
o AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/Test-Dir>
o CPAN Ratings
<http://cpanratings.perl.org/d/Test-Dir>
o Search CPAN
<http://search.cpan.org/dist/Test-Dir>
ACKNOWLEDGEMENTS COPYRIGHT & LICENSE
Copyright (C) 2007-2008 Martin 'Kingpin' Thurn
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2011-02-20 Test::Folder(3pm)