Eric Wilhelm wrote:
>>      use version $VERSION => qv($Revision: 1.2$);
> 
> I'll guess that's supposed to be qw().  No qv before import?

Yes; I blame the Dayquill... ;-)

> 
>   use version $VERSION = qw$Revision: 1.2$[1];
> 
> What's different about cvs versions?

That won't work with Perl 5.005 (qw doesn't automatically return a list context
that you can dereference).

There is some utility to your proposal, but the problem I'm having is more
conceptual.  All other instances where you pass parameters to a module via the
'use' line, it is typically passed as a list.  Granted, in those cases it is
more typically key => value pairs.  I can go either way, I guess...

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Blvd
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

Reply via email to