Artimus has asked for the wisdom of the Perl Monks concerning the following question:
Hi , Wizards!
I have some troubles with authomatic opening of file descriptors. we have $adress(defined way like $adress="PATH1") which changes going threw the cycle(it changes to PATH2, PATH3, etc.) and hereopen $adress, ">", "$adress.mailbox";
the Perl reports about error. if i can't use the string there in the 1st including of it in the code,- How can I create automatically opening for various amount of e-mails(this amount will depend on file I'm trying to process)? completely lost trying to solve it((ahah,found out about no strict 'refs', - and IT WORKS!!!no more help needed=)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Troubles with descriptors
by Old_Gray_Bear (Bishop) on May 12, 2013 at 21:46 UTC | |
by Artimus (Sexton) on May 12, 2013 at 21:49 UTC | |
by Laurent_R (Canon) on May 12, 2013 at 22:36 UTC | |
by choroba (Cardinal) on May 13, 2013 at 07:31 UTC |