Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How can one sort array elements in different text files?

by Anonymous Monk
on Nov 07, 2019 at 01:19 UTC ( #11108412=note: print w/replies, xml ) Need Help??


in reply to How can one sort array elements in different text files?

In certain environments (e.g. Linux ...) where powerful and well-suited sort commands are available, you should also consider an approach in which you invoke those commands in a simple shell-script-like loop, leaving them to deal with the processing of the actual files and their contents. You are under no obligation to do the sorting within your Perl script, and this might not be the best way to go about doing it. ("Sort commands" do not necessarily employ "memory-based" algorithms; Perl necessarily does. Be sure to very-carefully think outside the box ...)
  • Comment on Re: How can one sort array elements in different text files?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2020-02-18 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (78 votes). Check out past polls.

    Notices?