in reply to A Hash that is giving me the ####s
One little thing. You can do this: (CORRECTED)
s/[\s\t]//g;To replace instances from a set of characters, in this case whitespace or a tab. However, neither that nor what you have is actually necessary, as \s indicates any kind of whitespace, which with ascii means either a space or a tab. So just \s is fine.
The other thing is that is that what jwkrahn recommends:
$mailhouse{$f4} = [];Is correct, but I would call it an anonymous array reference just to be completely clear (altho, of course, the only thing that can contain an anonymous array is a reference).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A Hash that is giving me the ####s
by AnomalousMonk (Archbishop) on Sep 29, 2010 at 11:39 UTC | |
by halfcountplus (Hermit) on Sep 29, 2010 at 14:41 UTC |