in reply to Everything is a closure
I'm getting
substr outside of string at - line 10, <DATA> line 2. Use of uninitialized value in split at - line 10, <DATA> line 2.
What did I do wrong?
Update: Answer: I pasted the code directly into Perl at a command line rather than saving to a file and the running it. As the program attempts to seek on the DATA handle, it fails. Hence teh errors above. Ie. My problem not the obfu!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Everything is a closure
by holli (Abbot) on Jan 20, 2005 at 19:54 UTC | |
by BrowserUk (Patriarch) on Jan 20, 2005 at 19:56 UTC | |
by Aristotle (Chancellor) on Jan 21, 2005 at 12:11 UTC | |
by BrowserUk (Patriarch) on Jan 21, 2005 at 12:14 UTC |