Fixed package callers tracking.
authorshort <>
Sun, 21 Aug 2005 19:13:02 +0000 (19:13 +0000)
committershort <>
Sun, 21 Aug 2005 19:13:02 +0000 (19:13 +0000)
14 files changed:
project/Lib.pm
project/captive/doc/APITypes.pm
project/captive/doc/About.pm
project/captive/doc/Architecture.pm
project/captive/doc/CacheManager.pm
project/captive/doc/CallType.pm
project/captive/doc/Components.pm
project/captive/doc/Details.pm
project/captive/doc/Index.pm
project/captive/doc/LinuxNTFS.pm
project/captive/doc/Macros.pm
project/captive/doc/Related.pm
project/captive/doc/Reverse.pm
project/captive/doc/TODO.pm

index 9259361..67bc50a 100644 (file)
@@ -30,8 +30,6 @@ use Carp qw(cluck confess);
 use Exporter;
 our @EXPORT=qw();
 our @ISA=qw(My::Web Exporter);
-Wuse 'My::Hash::Sub';
-Wuse 'My::Hash::Sub::Readonly';
 
 
 sub LIST_FILENAME()
@@ -193,6 +191,7 @@ sub project_arrayref_to_hashref($$)
 {
 my($self,$arrayref)=@_;
 
+       Wuse 'My::Hash::Sub::Readonly';
        my $r={};
        tie %$r,"My::Hash::Sub::Readonly",(
                        @$arrayref,
index 60aea6f..68ec154 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "title"=>'Captive NTFS Developer Documentation: API Functions',
                "rel_prev"=>'Details.pm',
index 17a9445..24fa819 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "__PACKAGE__"=>__PACKAGE__,
                "title"=>'Captive NTFS Developer Documentation: About',
index ae9f170..0f66a9f 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "title"=>'Captive NTFS Developer Documentation: Architecture',
                "rel_prev"=>'About.pm',
index 82197bc..c9728bf 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "title"=>'Captive NTFS Developer Documentation: NT Cache Manager',
                "rel_prev"=>'Reverse.pm',
index 8f80e99..e7f1b46 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "title"=>'Captive NTFS Developer Documentation: API Calling Conventions',
                "rel_prev"=>'APITypes.pm',
index 4234b9a..1813e76 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "__PACKAGE__"=>__PACKAGE__,
                "title"=>'Captive NTFS Developer Documentation: Components',
index f0c1d81..6e7633f 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "__PACKAGE__"=>__PACKAGE__,
                "title"=>'Captive NTFS Developer Documentation: Implementation Details',
index a424be9..5ddc4ff 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "title"=>'Captive NTFS Developer Documentation',
                "rel_next"=>'About.pm',
index 3a022c5..df31dd8 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "title"=>'Captive NTFS Developer Documentation: Captive vs. Linux-NTFS',
                "rel_prev"=>'Related.pm',
index 007c15e..3538249 100755 (executable)
@@ -105,6 +105,7 @@ sub init ($%)
 {
 my($class,%args)=@_;
 
+       $args{"__PACKAGE__"}||=caller();
        %args=(
                        "rel_start"=>"..",
                        "rel_up"=>".",
index 6a39a51..d9c68a0 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "title"=>'Captive NTFS Developer Documentation: Related Projects',
                "rel_prev"=>'TODO.pm',
index d048b20..f341909 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "title"=>'Captive NTFS Developer Documentation: Reverse Engineering',
                "rel_prev"=>'Components.pm',
index 61cf08c..999ef03 100755 (executable)
@@ -25,11 +25,11 @@ use warnings;
 
 use My::Web;
 require CGI;
-BEGIN { Wuse 'project::captive::doc::Macros'; }
 
 
 sub handler
 {
+       BEGIN { Wuse 'project::captive::doc::Macros'; }
 project::captive::doc::Macros->init(
                "title"=>'Captive NTFS Developer Documentation: TODO',
                "rel_prev"=>'CallType.pm',