Help for this page

Select Code to Download


  1. or download this
    if(
     $text =~ 
    ...
    }else{
        #code to deal with not finding temperature data.
    }
    
  2. or download this
    if( $text =~ m{ (\d+ \. \d+) \s* ° F }xms){
         my $temp = $1;
    ...
    }else{
        #code to deal with not finding temperature data.
    }