in reply to Re: (tye)Re: Overriding Exporter::import
in thread Overriding Exporter::import

&Module::VERSION is documented under require and I'm not much into duplicating documentation. A simple remention of it probably wouldn't hurt, though.

Update: Er. Rather, &Module::VERSION should be documented under require instead of under use (as it was in 5.6.0 -- I haven't upgraded to 5.6.1 yet) and the use documentation should point to the require documentation, at least, IMHO ("H" stands for "hubristic", don't ya know?).

Correct, v-strings were added at 5.6.0. I think the biggest changes to them between 5.6.0 and 5.6.1 was that someone settled on a name for them. (: There were some bug fixes having to do with Unicodish stuff that doesn't much matter in this context.

No, the "require Module VERSION LIST" does not require a v-string literal. With 5.6.0 it, of course, had to support v-string literals. But it does now and always will (I bet) support simple numeric literals. (I encourage you to reread some of this and the related thread.)

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re3: Overriding Exporter::import
by John M. Dlugosz (Monsignor) on Jul 20, 2001 at 02:53 UTC
    grrrr... I was bit by the PM bug of preview going to "search results" instead of the preview, and lost my whole message!!! It's been a problem all day more than normal, but hadn't lost the message before (back button worked). I wish that would be fixed.

    To recap, it never occured to me that the version was a floating-point value, not a string. The syntax does take it (I had tried other things, but not a numeric literal). I'll update my tutorial later. Any other comments on my explorations?

    —John