Correct me if I am wrong since I'm just a newbie..
> > $mypath = $ENV(PATH);
> > $myeditor= $ENV{EDITOR};
> > $mytest = 123;
> > $mytest2 = "Perl"
^ Doesn't this require a semicolon?
>
> add "my" at the beginning of the lines:
>
> my $mypath = $ENV(PATH);
^^^^^ Braces
> (Actually, I'd get rid of "my" from the variable names, but that's not
> causing any errors.)
>
> > print " Test Home : $mypath\n"
^ Semicolons again (Same with next 3
lines.
> > print " Editor : $myeditor\n"
> > print " mytest : $mytest\n"
> > print " mytest2 : $mytest2\n
>
> Is PATH really what you're after here?
>
> --
> Paul Johnson - [EMAIL PROTECTED]
> http://www.pjcj.net
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]