Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: dynamic map "quadrant" indexing

by lidden (Curate)
on Aug 14, 2005 at 19:51 UTC ( #483717=note: print w/replies, xml ) Need Help??


in reply to Re: dynamic map "quadrant" indexing
in thread dynamic map "quadrant" indexing

Very nice ++

I did not know about this glob behavior. I had to change it a little to make it work exaktly like the op wanted though.
my $level = 2; my $l = 'A'; for (2 .. $level){ $l++; } my $glob_string = ( '{' . join( ',', 'A'.. $l ) . '}1' ) x $level; my @indices = glob $glob_string; print "@indices\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483717]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2020-05-28 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (165 votes). Check out past polls.

    Notices?