After a few minutes of meditation I understood my $path was wrong. So I tried to find better one...my $love_src = "Love.src"; open(HEART, "<$love_src") or die("HEART not opened.\n");
And then I understood that I know nothing. Because then you have to close the HEART, or a compilation error occures.$love_src = "Love.src"; open(HEART, "<$love_src") or warn("HEART not opened.\n");
Regards to all PerlMonks
Piotr Filip M. (pfm)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (nrd) Never Ending Stream
by newrisedesigns (Curate) on Oct 21, 2002 at 14:01 UTC | |
|
Re: Never Ending Stream
by UrsaloFF (Novice) on Oct 21, 2002 at 17:15 UTC |