Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: (Hopefully) simple sorting question

by AnomalousMonk (Archbishop)
on Jun 03, 2011 at 11:33 UTC ( [id://907953]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $string = "(x1,x1)(x2,y2)........(xn,yn)"
    
  2. or download this
    >perl -wMstrict -le
    "my $u =
    ...
     print qq{'$s'};
    "
    '(x1,y7)(x1,y9)(x2,y3)(x2,y5)(x11,y6)(x11,y8)(x22,y2)(x22,y4)'
    
  3. or download this
    >perl -wMstrict -le
    "my $u =
    ...
     print qq{'$s'};
    "
    '(x1,y7)(x1,y9)(x2,y3)(x2,y5)(x11,y6)(x11,y8)(x22,y2)(x22,y4)'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-29 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found