Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Alphnumeric Matching

by GrandFather (Sage)
on Jan 31, 2012 at 00:00 UTC ( #950848=note: print w/replies, xml ) Need Help??


in reply to Alphnumeric Matching

If you are having trouble with sort how about you show us the sort code that is failing, the data you are feeding it, and how you expect the sorted result to look? The following may be a suitable starting point:

use strict; use warnings; my @tapes_to_eject = qw{B1001R B0001R B4356R}; my $tapesStr = join ':', map {"\$$_"} sort @tapes_to_eject; print "$tapesStr\n";

Prints:

$B0001R:$B1001R:$B4356R
True laziness is hard work

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2016-09-28 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (518 votes). Check out past polls.