[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] Wow! I used map!



>    push @files, map { $_ = "$dir/$_" } readdir DIR;

Don't set $_.

push @files, map { "$dir/$_" } readdir DIR;

-- 
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance