in reply to Restricted assignment

A spelling mistake ? you declare: my $Unkown = "Unkown"; # <--- Assignment 4 LINE 275 but you print: print $Unknown, "\n"; # <---- LINE 275!! use strict would catch that at compile time

Replies are listed 'Best First'.
Re^2: Restricted assignment
by o_chfa (Acolyte) on Sep 28, 2004 at 11:06 UTC
    Thanx, that one helped at last

    sayonara
    ChFa

      Hint: If you use strict; Perl warns you about such typos.

      Jenda
      Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
         -- Rick Osborne