Help for this page

Select Code to Download


  1. or download this
       with_cache_cleared_do { some_sub_requesting_the_data; };
    
  2. or download this
    use strict;
    use warnings;
    ...
    my @x = with_cache_cleared_do {  return ( 'one', refresh_requested() )
    +; };
    ok( ( $x[0] eq 'one' and $x[1] == 1 ) , 'result in list context' );