in reply to Strange problem reading a text file
(2) Module names which are not capitalized are traditionally "pragmatic" modules, involved in changing the behavior of the perl interpreter or interpretation of Perl code itself. You may want to capitalize your package name.
(3) You may want to use a utility like perltidy to help you write code that's more clear for reading. And use <code> ... </code> tags on this site to retain all the source code in the simplest format. You won't have to type all those <br>'s and angle bracket codes.
(4) Your question was why the last output didn't appear? Though I don't see anything wrong with your code as-is, I'm not very familiar with the old 'format' mechanism. It may be a simple problem with a missing newline at the end of your input. On some terminals, the last line of output will not appear if it was not followed with a newline (because the next command prompt erases it).
--
[ e d @ h a l l e y . c c ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Strange problem reading a text file
by tariqahsan (Beadle) on Jun 13, 2003 at 20:53 UTC |