in reply to Always leaving one space in file
And to answer your question - the my @changes = param('tellmessage'); sets the @changes list to a one element list (if the tellmessage parameter is empty than the list contains one empty string). Thus the foreach loop allways is executed once - and when the parameter is empty the print statement prints the "\n" character.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Always leaving one space in file
by Anonymous Monk on Apr 23, 2003 at 15:23 UTC | |
by vek (Prior) on Apr 23, 2003 at 15:31 UTC | |
by zby (Vicar) on Apr 23, 2003 at 15:32 UTC | |
by Anonymous Monk on Apr 23, 2003 at 15:42 UTC | |
by zby (Vicar) on Apr 23, 2003 at 17:41 UTC | |
by Anonymous Monk on Apr 23, 2003 at 15:32 UTC |