Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    my $pattern = prompt("Gimme a RegEx: ");
    print $str=~$pattern ? "Yes!" : "No.", "\n";
    print "kthxbye\n";
    
  2. or download this
    use Acme::Pythonic;
    use warnings
    ...
        else:
            print("No.\n")
    print("kthxbye\n")