--- Jose Luis Martinez <[EMAIL PROTECTED]> wrote:
> Hello Ovid
> 
> This is the code that I am trying to run
> 
> #!/usr/bin/perl
> 
> my $a="Hello World";
> 
> print $a;

There is nothing wrong with this code.  Thoughts:

* what is the result of 'which perl'?  Are you pointing to the same interpreter? 
(though this
should not make a difference)

* are your line endings wrong?

* Try redirecting output to a file and opening it up in a hex editor.  Again, I doubt 
that will
reveal anything, but I'm at a loss to know what's going on without actually sitting 
down at your
machine.

Cheers,
Ovid

=====
"Ovid" on http://www.perlmonks.org/
Web Programming with Perl:  http://users.easystreet.com/ovid/cgi_course/
Silence Is Evil: http://users.easystreet.com/ovid/philosophy/decency.txt

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to