Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Ian] Sharing variable between install.pm and plugin.pm

Quote Reply
Re: [Ian] Sharing variable between install.pm and plugin.pm In reply to
Perl uses it's own version variable...

$VERSION

If you notice in most of their modules they have something like:

$VERSION = sprintf "%d.%03d", q$Revision: 1.93 $ =~ /(\d+)\.(\d+)/;

So you can do like:

$Module::SubClass::VERSION;
Subject Author Views Date
Thread Sharing variable between install.pm and plugin.pm Ian 6037 May 18, 2002, 10:08 AM
Thread Re: [sooke] Sharing variable between install.pm and plugin.pm
webmaster33 5879 May 20, 2002, 2:25 AM
Thread Re: [webmaster33] Sharing variable between install.pm and plugin.pm
Ian 5820 May 20, 2002, 7:58 AM
Thread Re: [Ian] Sharing variable between install.pm and plugin.pm
pugdog 5837 May 27, 2002, 3:41 AM
Post Re: [pugdog] Sharing variable between install.pm and plugin.pm
webmaster33 5787 May 27, 2002, 3:52 AM
Thread Re: [pugdog] Sharing variable between install.pm and plugin.pm
Ian 5859 May 27, 2002, 8:19 AM
Thread Re: [Ian] Sharing variable between install.pm and plugin.pm
webmaster33 5804 May 27, 2002, 8:39 AM
Thread Re: [webmaster33] Sharing variable between install.pm and plugin.pm
Ian 5821 May 27, 2002, 9:20 AM
Thread Re: [Ian] Sharing variable between install.pm and plugin.pm
pugdog 5778 May 28, 2002, 9:21 AM
Thread Re: [pugdog] Sharing variable between install.pm and plugin.pm
Ian 5787 May 28, 2002, 9:28 AM
Thread Re: [Ian] Sharing variable between install.pm and plugin.pm
Paul 5776 May 28, 2002, 9:40 AM
Post Re: [Paul] Sharing variable between install.pm and plugin.pm
Ian 5755 May 28, 2002, 9:44 AM