my $records = pull_query 'wool-sweater-orders', within => 'last 5 days'; # either finds and runs query or retrieves cached, self-expiring result while (my $record = $records->next) { warn $record->{brand}, $record->{price}; } $records = 'all_employees', age => 26