in reply to space in front of lines

Change the lines like:

@LINES = <FILE>;

to:

chomp( @LINES = <FILE> );

The symptoms you describe is a classic case of not stripping out the newline from the lines you read in from the file. Other than that, you are making a lot of work for yourself in this code. By using the module CGI you could strip out a lot of code and make it more secure as well.


print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u'

Replies are listed 'Best First'.
Re: Re: space in front of lines
by BUU (Prior) on Nov 05, 2002 at 14:15 UTC