Next Program Repair Shop 202

Empty if or else blocks

        Subject: Problem for uploading a file
        Message-Id: <UCWz4.3319$Fk3.169728@weber.videotron.net>
        if ($File_Handle =~ /([^\/\\]+)$/) { }
        else { print p("Bad filename... check for forward or back slashes\n"); }
        unless ($File_Handle =~ /([^\/\\]+)$/) { 
          print p("Bad filename... check for forward or back slashes\n"); 
        }
        if ($File_Handle =~ m{[/\\]$}) { 
          print p("Bad filename... check for forward or back slashes\n"); 
        }


Next Copyright © 2002 M. J. Dominus