Help for this page

Select Code to Download


  1. or download this
    if (crypt($word, $pwd) ne $pwd) {
        die "Sorry...\n";
    } else {
        print "ok\n";
    }
    
  2. or download this
    my $cryptedpass = crypt($passwrd1, substr($never_blank_value, 0, 2));
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    $ perl test.pl
    Too small \$never_blank_value at test.pl line 13.
    
  4. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
     perl test.pl
    Use of uninitialized value $cryptedpass in say at test.pl line 15.
    
  5. or download this
    die 'Not accepted characters at \$never_blank_value'
        unless ($never_blank_value =~ /^[a-zA-Z0-9.\/]+$/);