Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -l
    
    ...
    1 while /(.)/g;
    $_ = "upset";
    print $1;  # does this print 'y' or 't' for you?
    
  2. or download this
    #!/usr/bin/perl -l
    
    $_ = "japhy";
    1 while /./g;
    $_ = "upset";