need to put an @ at the front... not sure why, but you do@hash{@array} = (1) x scalar(@array};
- Ant
- Some of my best work - Fish Dinner
In reply to Re: 1 line array to hash converter
by suaveant
in thread 1 line array to hash converter
by rossta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |