Help for this page

Select Code to Download


  1. or download this
    $temp = eval { $mech->get($imgsrc) };
    if( not $temp ){
    ...
    }
    
  2. or download this
    eval { $mech->get( $imgsrc ); };
    if( not $mech->res->is_success ){
        ...
    }
    
  3. or download this
    
    if( not eval { $mech->get( $imgsrc ); 1 } ){
        ...
    }
    
  4. or download this
    eval { $mech->get( $imgsrc ); 1 }
        or do {
            ...
    };