Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: reordering segments to form a polygon

by borisz (Canon)
on Aug 13, 2004 at 09:44 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-23 07:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found