Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: range-based magical autoincrement

by Juerd (Abbot)
on Jun 28, 2002 at 17:01 UTC ( #178070=note: print w/replies, xml ) Need Help??


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 :)

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/) { ... }
Update - Hmm... I misread the glob, and thought the }{ parts were just commas. Sorry :)

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://178070]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2017-02-20 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (301 votes). Check out past polls.