Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: reordering segments to form a polygon

by borisz (Canon)
on Aug 13, 2004 at 09:44 UTC ( #382592=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    my @r = ( 
    ...
    [ 2, 3, 5, 3 ]
    [ 5, 3, 5, 5 ]
    [ 5, 5, 1, 5 ]
    
  2. or download this
    for my $i (0..$#r) {
      my $p = $i + 1;
    ...
        last;
      }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2022-12-09 22:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?