It executes another.pl but the print statement is never reached as the 'exec' stops running the programm.
Did you bother to lookup in the documentation what exec does? If you had, you would a) not be surprised by the behaviour, b) known what you should have done instead.
This one perfoms 'Location' but 'exec' is never reached and I don't understand why. The condition here is always true.
Then you must have found a bug in perl. Could you create a small, stand-alone, program that exhibits this bug?
Abigail
In reply to Re: 'exec' & 'Location' problem
by Abigail-II
in thread 'exec' & 'Location' problem
by alikim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |