Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    my ($this, $that, $tother, $twix);
    ...
       ($this, $that, $tother, $twix) = ($1,$2,$3,$4);
    }
    print "$this $that $tother $twix\n";   # ...or whatever
    
  2. or download this
    ($this, $that, $tother, $twix) 
          = $fname =~ /^(\d{4})(\d{3})(\d{3})(\d{3})/;
    print "$this $that $tother $twix\n";   # ...or whatever