David Manura wrote:

Terrence Brannon wrote:

isnt that a long word to type every time? I envision subroutines with an interpolating property:

sub get_authors : dbi_interp {

my ($author_list) = @_;

qq[SELECT * FROM AUTHORS WHERE author_id IN ], $author_list ;

}

my $sql = get_authors (10 .. 12);

but this is just brainstorming


Yes, I shall shorten the name.


isnt that funny? I wanted the names of my arguments in SQL::AnyDBD to be long, yet I"m telling you to shorting the name of your function :)


Reply via email to