There's more than one way to do things | |
PerlMonks |
foreach a writing open fails through not found fileby DomX (Novice) |
on Jun 23, 2019 at 12:59 UTC ( [id://11101758]=perlquestion: print w/replies, xml ) | Need Help?? |
DomX has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks! This is the first time I write something here. Mostly I found solutions in documentations, existing entries here or platforms like stackoverflow.This time I wasn't able to find a similar problem anywhere, so I decided to ask myself. When this part of code is executed it tells me
First I didn't get it, because the returns just omitted writing the next files. How can I do multiple open within the foreach, without print() failing? I feel as if the open() wasn't executed every time as I expected
Back to
Seekers of Perl Wisdom
|
|