in reply to text parsing
- terminate argument to die with "\n" if you want to suppress the traceback information
- while( my $line = <inFile> ) {
- it is a good habit to always specify full path names rather than just filenames
- you might want to try running with 'perl -d <scriptfile>' when debugging. The command 'h' will give a full set of debug commands available.
Update: also recommendable:
- declare all variables with 'my' and insert the following controls at the top of the program:
use strict; use warnings;
-M
Free your mind
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: text parsing
by Anonymous Monk on Jul 10, 2006 at 05:00 UTC | |
by Moron (Curate) on Jul 10, 2006 at 10:07 UTC |