in reply to Re: No Substitution Happening
in thread No Substitution Happening
$dir doesn't need to be interpolated into a string, it is already.
Could you elaborate a little on that, please? Are you referring to the foreach of $dir?
$_ doesn't have any useful contents inside the sub and it certinally isn't an array, or even a reference to and array, so foreach doesn't help anything.
Does the below make it into an array?
sub change_ext_if_file { @files = $_; #continuing code left off for this post
Cheers
coolboarderguy...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: No Substitution Happening
by GrandFather (Saint) on Mar 24, 2006 at 08:27 UTC | |
by coolboarderguy (Acolyte) on Mar 24, 2006 at 09:03 UTC | |
|
Re^3: No Substitution Happening
by coolboarderguy (Acolyte) on Mar 24, 2006 at 09:04 UTC | |
by coolboarderguy (Acolyte) on Mar 24, 2006 at 09:22 UTC | |
by fishbot_v2 (Chaplain) on Mar 24, 2006 at 16:54 UTC |