Re: Need help with a question.
- From: Trev <trevor.dodds@xxxxxxxxx>
- Date: Sat, 28 Jun 2008 09:56:39 -0700 (PDT)
On Jun 28, 12:45 pm, "Erwin van Koppen" <inva...@xxxxxxxxxxxxxxx>
wrote:
"Trev" wrote:
How come these errors only appear when I use Sub { } ?
For one thing, you should use lowercase: sub { }
open (BOO, "<blah2.txt");
@lines=<TMP>;
You open BOO, but use TMP (which is not opened).
And, you don't check to see of BOO can be opened.
Fix these things, then it should run. However, I doubt it will do what you
want it to do...
Thanks, I've made the changes and so far so good.
.
- Follow-Ups:
- Re: Need help with a question.
- From: Erwin van Koppen
- Re: Need help with a question.
- References:
- Need help with a question.
- From: Trev
- Re: Need help with a question.
- From: Erwin van Koppen
- Need help with a question.
- Prev by Date: Re: Need help with a question.
- Next by Date: Re: Perl search engine
- Previous by thread: Re: Need help with a question.
- Next by thread: Re: Need help with a question.
- Index(es):
Relevant Pages
|