in reply to Alphabetical order with .txt file

I would guess you need a chomp here:
@list1 = <items>; #This chomp(@list = <items>); #to this
but it is hard to tell since I do not see you using the sort command anywhere. So I assume this is not the code you are having the problems with.

Couple of things Before you post you should always

  • turn on warnings use warnings;
  • use strict;
  • post the broken code.


  • grep
    Unix - where you can thrown the manual on the keyboard and get a command

    Replies are listed 'Best First'.
    Re: Re: Alphabetical order with .txt file
    by Jaxonn (Initiate) on Apr 18, 2002 at 02:19 UTC
      When i try to run your editted script based of mine, i get a internal server error. Do you know whats wrong with it