in reply to Re^4: Using an hash ref to match files with directories
in thread Using an hash ref to match files with directories
First : Why are you doing this no-op ?
my $seq = $seq; # capture the intials ($seq) from $targetfile
So it appears that you want to use the Initials-to-hash conversion in the sub "seq_customer_dirs".
Simply replace " if ($dir=~m%$seq%){" with
if ($dir =~m|$sequser{$seq}| ){
Potentia vobiscum ! (Si hoc legere scis nimium eruditionis habes)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Using an hash ref to match files with directories
by lomSpace (Scribe) on Aug 13, 2009 at 16:22 UTC |