sub sql_select_from_musings{ return qq| SELECT musing_id, ref_id, heading, entry, DATE_FORMAT(entry_date, '%M %e, %Y') FROM musings |; } #### $sql_statement = sql_select_from_musings() . qq|ORDER BY entry_date DESC|; #### my $apples = 5; my $watermelons = 7; #### my $apples = 5; my $watermelons = 7;