Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
        
        print "My number is $string\n";
    }
    
  2. or download this
    Found = in conditional, should be == at ./testsub.pl line 22.
    Found = in conditional, should be == at ./testsub.pl line 19.
    ...
    My number is one
    My number is one
    My number is one
    
  3. or download this
    Use of uninitialized value in numeric eq (==) at ./testsub.pl line 16.
    Use of uninitialized value in numeric eq (==) at ./testsub.pl line 16.
    ...
    Use of uninitialized value in numeric eq (==) at ./testsub.pl line 16.
    Use of uninitialized value in numeric eq (==) at ./testsub.pl line 16.
    My number is four