Help for this page

Select Code to Download


  1. or download this
    printf "file = %30s  ext= %10s\n", $name, $type;
    
  2. or download this
    my ($filename, $ext) = split /\..*/, $file;
    
  3. or download this
    my ($filename, $ext) = $file =~ /^(.+)(?:\.(.*))?$/s
    
  4. or download this
    2;0 juerd@ouranos:~$ perl -e'undef christmas'
    Segmentation fault
    2;139 juerd@ouranos:~$