in reply to Fourth time's the charm JAPH
You can insert #line 2 just after the first line, to make sure the math goes as you expect (or use __LINE__). For instance, omitting the shebang line and doing perl foo.pl breaks the japh.
To make it warnings clean, use (caller)[-1].
--
David Serrano
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Fourth time's the charm JAPH
by dewey (Pilgrim) on Aug 22, 2006 at 14:16 UTC | |
by Hue-Bond (Priest) on Aug 22, 2006 at 16:46 UTC |