Re: Using Print -strange behavior

2003-03-24 Thread Morten Liebach
On 2003-03-24 07:27:14 -0800, Ovid wrote: > --- 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

Re: Using Print -strange behavior

2003-03-24 Thread Ovid
--- 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 interpre

Re: Using Print -strange behavior

2003-03-24 Thread Janek Schleicher
Jose Luis Martinez wrote at Sun, 23 Mar 2003 15:04:42 -0800: > This is the code that I am trying to run > > #!/usr/bin/perl > > my $a="Hello World"; > > print $a; Runs fine for me, allthough I wouldn't use $a as a variable. (It's already a global variable used e.g. in sortings, see perldoc pe

Re: Using Print -strange behavior

2003-03-24 Thread Jose Luis Martinez
Hello Ovid This is the code that I am trying to run #!/usr/bin/perl my $a="Hello World"; print $a; Thanks, JL "Ovid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Jose Luis Martinez <[EMAIL PROTECTED]> wrote: > > Hello All > > > > I installed Linux 8.0(kernel 2.4.18-14) a

Re: Using Print -strange behavior

2003-03-22 Thread Ovid
--- Jose Luis Martinez <[EMAIL PROTECTED]> wrote: > Hello All > > I installed Linux 8.0(kernel 2.4.18-14) and Perl V5.8.0 and when I try to > run a Perl program with the line > print "Hello World" > it does not work, just perl executed it without an error. > > I checked it the script using > per

Using Print -strange behavior

2003-03-22 Thread Jose Luis Martinez
Hello All I installed Linux 8.0(kernel 2.4.18-14) and Perl V5.8.0 and when I try to run a Perl program with the line print "Hello World" it does not work, just perl executed it without an error. I checked it the script using perl -c script_name and it return OK Thanks -- To unsubscribe, e-