in reply to Re: Re: I need some beginners help
in thread I need some beginners help

$name <-> $NAME do you see the difference? Perl does because it is case sensitive thus $name $Name and $NAME are all different.

Almost all Perl functions like chop if else print eq are lower case. Also \n represents a newline not \N. In short switch the CAPS LOCK OFF!

I presume you added all the <br> tags. You don't need to when posting code like this

<code>

#!usr/bin/perl print "What is your name? "; $name = <STDIN>; chop($name); if ($name eq "RANDAL") { print "HELLO, RANDAL! HOW GOOD OF YOU TO BE HERE!\n"; } else { print "HELLO, $name!\n"; #ORDINARY GREETING }
</code>

You do not see the real code tags because the are doing their job - maintaining all the formatting like <PRE> tags. Just type in the opening code tag, paste in your code and then type in the closing code tag. Have fun - it gets easier. Just remember computers are reather pedantic when it comes to what you feed them!

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print