Anonymous avatar Anonymous committed 6b7b2d6

Removed ->idx() from PathComp.

Comments (0)

Files changed (3)

     - Optimization/Refactoring: refactored _become_default() to remove
     the execessive use of $father and $father->idx(). Now ->idx() is
     no longer needed and will be removed next.
+    - Optimization/Refactoring: removed the ->idx() method as it
+    was no longer used and needed.
 0.1.7 - Thu Jan 15 16:09:49 IST 2009
     - Fixed the check-for-link and for directory semantics on Windows


 use File::Spec;
 sub new {
-    my ($class, $top, $from, $index) = @_;
+    my ($class, $top, $from) = @_;
     my $self = {};
     bless $self, $class;
     $self->_dir([ @{$top->_curr_comps()} ]);
-    $self->idx($index);
     bless $self, $class;
-    $self->idx(0);
     return $self;
-                $self->_current(),
-                scalar(@{$self->_dir_stack()})
+                $self->_current()


-                idx
 =head1 METHODS
-=head2 $self->idx()
-For internal use.
 =head1 SEE ALSO
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.