Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my($n, $x);
    if($line =~ /N([0-9\.]+)/){ $n = $1 };
    if($line =~ /G03X([0-9\.]+)/){ $x = $1 };
    
  2. or download this
    if( $line =~ /N([\d\.]+)/ ){ $n = $1 };
    if( $line =~ /G03X([\d\.]+)/ ){ $x = $1 };