Help for this page

Select Code to Download


  1. or download this
    eval {
        die "You're ugly, and your President dresses funny.";
    ...
    if ($@) {
       print "Hmm, got an error message that read \"$@\" ... I wonder why?
    +\n";
    }
    
  2. or download this
    perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>); 
    +$rose = "smells sweet to degree $n"; *other_name = *rose; print "$oth
    +er_name\n"'