On Tue, 1 Mar 2005 09:17:09 -0800, bright true <[EMAIL PROTECTED]> wrote: > Hello , > > are you trying to print out in a web browser ? ? if so ... then > > add the following line before your print line : > > print "content-type: text/html \n\n"; > > bye > > On Tue, 1 Mar 2005 10:40:53 -0500, Earthlink-m_ryan > <[EMAIL PROTECTED]> wrote: > > Has anyone ever accidentally changed the stdout for perl to nowhere. I can't > > print anything to the screen from the command prompt with - > > > > #! /usr/bin/perl-w > > use strict; > > print "Hello world. \n"; > > exit; > > > > result = "" > > I run perl 5.6 on a windoze machine, this is the first time I've ever seen > > this. > > I checked the last few programs that I ran with perl and can't find anything > > that would have changed any environment variables. > > Does anyone know what I might have mesed up messed up, or how I could debug > > this problem > > if you think you have changed environment, use a new 'cmd' prompt. you couldn't have possibly changed system environment variables. the above code snippent should work .one way is to write new piece of code and test it out.
> > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>