in reply to Re: range-based magical autoincrement
in thread range-based magical autoincrement
It's not the scalar glob that scares me. It's the use of glob for non-file things :)
Update - Hmm... I misread the glob, and thought the }{ parts were just commas. Sorry :)
I'd probably just use a list, or an array if I need it multiple times:
for ('A'..'F', 0..9, qw/P Q R/) {
...
}
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
|
---|
In Section
Cool Uses for Perl