[Israel.pm] print() from within module

Peter Gordon peter at pg-consultants.com
Thu Mar 22 07:55:40 PDT 2007


It could be that the code never gets executed
It could be that there is no \n at the end of the line, so the output
never gets flushed.

On Thu, 2007-03-22 at 13:51 +0200, Levenglick Dov-RM07994 wrote:
> It could be that you, or someone else called close without providing a filehandle. This causes STDIN, STDOUT and SDTERR to close. 
> It could be that someone changed the default filehandle using select.
> It could be that someone is redirecting STDOUT to someplace other than the screen.
> 
> Try printing explicitly to STDOUT to if select is the root cause. 
> 
> 
>  
> Best Regards,
> Dov Levenglick
> DSP SoC System and Applications Engineer,
> Network and Computing Systems Group
> Freescale Semiconductor Israel
> Tel. +972-9-952-2804
> The information contained in this email is classified as:
> [ ] Freescale General Business Information
> [ ] Freescale Internal Use Only
> [ ] Freescale Confidential Proprietary
> [x] Personal Memorandum
> 
> -----Original Message-----
> From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On Behalf Of ברונפמן ולדימיר
> Sent: Thursday, March 22, 2007 13:34
> To: perl at perl.org.il
> Subject: [Israel.pm] print() from within module
> 
> In my code I perform simple print() from the function placed within some module but receive nothing in STDOUT. What kind of fault is it? 
> Thank you.
> Vladimir M. Bronfman
> Development Department
> LADPC Inc
> Israel
> 
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl
> 
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl





More information about the Perl mailing list