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

comment on

how can I make it ignore all lines starting with a hash - e.g. '/^#/' - is that possible with this solution?

This depends on what you mean by "ignore" - I have a suspicion that perhaps your input file is in sections separated by comments, and you want the sections to be sorted individually? Could you show some short but representative sample input and the expected output for that input?

In reply to Re^3: Perl custom sort for Portuguese Lanaguage by haukex
in thread Perl custom sort for Portuguese Lanaguage by Galdor

and:  <code> code here </code>

Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
As of 2022-05-21 07:22 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (76 votes). Check out past polls.