Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

(tye)Re: getting my neighbours in an N-dimensional space

by tye (Sage)
on Jan 21, 2002 at 20:42 UTC ( [id://140427]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    
    ...
    while(  @coords= $next->()  ) {
        print "( @coords )\n";
    }
    
  2. or download this
    ( 5 1 -5 )
    ( 6 1 -5 )
    ( 7 1 -5 )
    ...
    ( 5 3 -3 )
    ( 6 3 -3 )
    ( 7 3 -3 )
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-18 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found