in reply to Re^14: Comparing Values PER Sub-folder
in thread Comparing Values PER Sub-folder
Would File::Basename help in this scenario?
Err, looks like it does actually help...quite a bit! Here is the code I'm using:
From the previous code assigned to this, I can properly get a true/false from an if/else statement. I THINK I might be all set with this now, thank you again for all your help! Very informative and learned a lotmy $basedir = dirname($curDir); my @lines = read_file( $curFile ) ; my $numLines = @lines; push @{ $dirLines{$basedir} }, $numLines;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^16: Comparing Values PER Sub-folder
by Kenosis (Priest) on Sep 06, 2012 at 01:21 UTC |
In Section
Seekers of Perl Wisdom