your question is really poorly expressed. By what I'm able to decipher I suggest you to investigate the fact perl has always 3 opened filhandle and letting apart STDIN you can experiencing something bound to different behaviour of STDOUT (used by default by print) and STDERR (used by die).
Also buffering can be involved, also some poor minded OS (aka windows) make a mess of STDERR in their console.
Some line of code will be more appreciated.
L*
In reply to Re: The print is output later after die
by Discipulus
in thread The print is output later after die
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |