Help for this page

Select Code to Download


  1. or download this
    my $data = $response->decoded_content;
    # doing what should be a "no-op", below, makes the problem
    # dissappear.
    $data=substr($data,0);
    
  2. or download this
    # doesn't work
    $data=~/^(.*)$/;
    $data=$1;
    
  3. or download this
    # pass $newvar on instead of $data...doesn't work
    my $newvar=$data