sufi has asked for the wisdom of the Perl Monks concerning the following question:
Error description:open(FILE, "datebook.txt") || die "Can't open datebook: $!\n"; while(<FILE>) { print if /Sir Lancelot/; } close(FILE);
Can't open datebook: No such file or directory
20110105 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Text file opening problem
by GrandFather (Saint) on Jan 04, 2011 at 07:00 UTC | |
|
Re: Text file opening problem
by syphilis (Archbishop) on Jan 04, 2011 at 07:07 UTC | |
|
Re: Text file opening problem
by samarzone (Pilgrim) on Jan 04, 2011 at 07:03 UTC |