Author: arkurth
Date: Thu Jul 16 16:35:27 2009
New Revision: 794741

URL: http://svn.apache.org/viewvc?rev=794741&view=rev
Log:
VCL-23
Updated the pod documentation for get_package_hierarchy(). It provides an 
example which included the Windows_mod paths. These were changed to reflect the 
current file names.

Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/Module.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module.pm?rev=794741&r1=794740&r2=794741&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module.pm Thu Jul 16 16:35:27 
2009
@@ -229,16 +229,16 @@
                package name.
                
                Example: call as object method:
-               my $os = 
VCL::Module::OS::Windows_mod::Version_5::XP_mod->new({data_structure => 
$self->data});
+               my $os = 
VCL::Module::OS::Windows::Version_5::XP->new({data_structure => $self->data});
                my @packages = $os->get_package_hierarchy();
                
                Example: call as class function:
-               my @packages = 
get_package_hierarchy("VCL::Module::OS::Windows_mod::Version_5::XP_mod");
+               my @packages = 
get_package_hierarchy("VCL::Module::OS::Windows::Version_5::XP");
                
                Both examples return the following array:
-               [0] = 'VCL::Module::OS::Windows_mod::Version_5::XP_mod'
-               [1] = 'VCL::Module::OS::Windows_mod::Version_5'
-               [2] = 'VCL::Module::OS::Windows_mod'
+               [0] = 'VCL::Module::OS::Windows::Version_5::XP'
+               [1] = 'VCL::Module::OS::Windows::Version_5'
+               [2] = 'VCL::Module::OS::Windows'
                [3] = 'VCL::Module::OS'
                [4] = 'VCL::Module'
 


Reply via email to