my $year; while( my $title = ) { $year = find_year( $title ); }; print "I now have a year of '$year'\n";