Skip to content

Commit

Permalink
* get rid of all computed $VERSIONs
Browse files Browse the repository at this point in the history
  • Loading branch information
eserte committed May 29, 2010
1 parent ca44136 commit 9a1447b
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Canvas/Canvas.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Tk::Canvas;
use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #12 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.013'; # sprintf '4.%03d', q$Revision: #12 $ =~ /\D(\d+)\s*$/;

use Tk qw($XS_VERSION);

Expand Down
2 changes: 1 addition & 1 deletion DragDrop/DragDrop.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require Tk::Toplevel;
require Tk::Label;

use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #14 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.015'; # sprintf '4.%03d', q$Revision: #14 $ =~ /\D(\d+)\s*$/;

use base qw(Tk::DragDrop::Common Tk::Toplevel);

Expand Down
2 changes: 1 addition & 1 deletion DragDrop/DragDrop/Rect.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use Carp;
# Proxy class which represents sites to the dropping side

use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #11 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.012'; # sprintf '4.%03d', q$Revision: #11 $ =~ /\D(\d+)\s*$/;

# Some default methods when called site side
# XIDs and viewable-ness from widget
Expand Down
2 changes: 1 addition & 1 deletion DragDrop/DragDrop/SunDrop.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Tk::DragDrop::SunDrop;
require Tk::DragDrop::Rect;

use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #5 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.006'; # sprintf '4.%03d', q$Revision: #5 $ =~ /\D(\d+)\s*$/;

use base qw(Tk::DragDrop::Rect);
use strict;
Expand Down
2 changes: 1 addition & 1 deletion DragDrop/DragDrop/SunSite.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Tk::DragDrop::SunSite;
require Tk::DropSite;

use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #6 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.007'; # sprintf '4.%03d', q$Revision: #6 $ =~ /\D(\d+)\s*$/;

use Tk::DragDrop::SunConst;
use base qw(Tk::DropSite);
Expand Down
2 changes: 1 addition & 1 deletion DragDrop/DragDrop/XDNDDrop.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Tk::DragDrop::XDNDDrop;
use strict;
use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #6 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.007'; # sprintf '4.%03d', q$Revision: #6 $ =~ /\D(\d+)\s*$/;
use base qw(Tk::DragDrop::Rect);

sub XDND_PROTOCOL_VERSION () { 4 }
Expand Down
2 changes: 1 addition & 1 deletion DragDrop/DragDrop/XDNDSite.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Tk::DragDrop::XDNDSite;
use strict;
use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #6 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.007'; # sprintf '4.%03d', q$Revision: #6 $ =~ /\D(\d+)\s*$/;
use base qw(Tk::DropSite);

sub XDND_PROTOCOL_VERSION () { 4 }
Expand Down
2 changes: 1 addition & 1 deletion DragDrop/DropSite.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require Tk::DragDrop::Common;
require Tk::DragDrop::Rect;

use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #7 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.008'; # sprintf '4.%03d', q$Revision: #7 $ =~ /\D(\d+)\s*$/;

use base qw(Tk::DragDrop::Common Tk::DragDrop::Rect);

Expand Down
2 changes: 1 addition & 1 deletion DragDrop/Win32Site/Win32Site.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Tk::DragDrop::Win32Site;

use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #8 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.009'; # sprintf '4.%03d', q$Revision: #8 $ =~ /\D(\d+)\s*$/;

use Tk qw($XS_VERSION);
require DynaLoader;
Expand Down
2 changes: 1 addition & 1 deletion Entry/Entry.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package Tk::Entry;

use vars qw($VERSION);
use strict;
$VERSION = sprintf '4.%03d',q$Revision: #17 $ =~ /#(\d+)/;
$VERSION = '4.018'; # sprintf '4.%03d',q$Revision: #17 $ =~ /#(\d+)/;

# modify it under the same terms as Perl itself, subject
# to additional disclaimer in license.terms due to partial
Expand Down
2 changes: 1 addition & 1 deletion Event/Event/IO.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use strict;
use Carp;

use vars qw($VERSION @EXPORT_OK);
$VERSION = sprintf '4.%03d', q$Revision: #8 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.009'; # sprintf '4.%03d', q$Revision: #8 $ =~ /\D(\d+)\s*$/;

use base qw(Exporter);
use Symbol ();
Expand Down
2 changes: 1 addition & 1 deletion Listbox/Listbox.pm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ package Tk::Listbox;

use vars qw($VERSION @Selection $Prev);
use strict;
$VERSION = sprintf '4.%03d', q$Revision: #14 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.015'; # sprintf '4.%03d', q$Revision: #14 $ =~ /\D(\d+)\s*$/;

use Tk qw(Ev $XS_VERSION);
use Tk::Clipboard ();
Expand Down
2 changes: 1 addition & 1 deletion TixGrid/TixGrid.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ BEGIN

use strict;
use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #9 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.010'; # sprintf '4.%03d', q$Revision: #9 $ =~ /\D(\d+)\s*$/;

use Tk qw(Ev $XS_VERSION);
use Tk::Widget;
Expand Down
2 changes: 1 addition & 1 deletion Tk/Clipboard.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package Tk::Clipboard;
use strict;

use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #8 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.009'; # sprintf '4.%03d', q$Revision: #8 $ =~ /\D(\d+)\s*$/;

use AutoLoader qw(AUTOLOAD);
use Tk qw(catch);
Expand Down
2 changes: 1 addition & 1 deletion Tk/Derived.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use strict;
use Carp;

use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #10 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.011'; # sprintf '4.%03d', q$Revision: #10 $ =~ /\D(\d+)\s*$/;

$Tk::Derived::Debug = 0;

Expand Down
2 changes: 1 addition & 1 deletion Tk/Labelframe.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Tk::Labelframe;
use strict;

use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #2 $ =~ /#(\d+)/;
$VERSION = '4.003'; # sprintf '4.%03d', q$Revision: #2 $ =~ /#(\d+)/;

# New widget which is a kind of Frame with a label ...

Expand Down
2 changes: 1 addition & 1 deletion Tk/Panedwindow.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Tk::Panedwindow;
use strict;

use vars qw/$VERSION/;
$VERSION = sprintf '4.%03d', q$Revision: #3 $ =~ /#(\d+)/;
$VERSION = '4.004'; # sprintf '4.%03d', q$Revision: #3 $ =~ /#(\d+)/;

# A Panedwindow widget (similar to Adjuster).

Expand Down
2 changes: 1 addition & 1 deletion Tk/Photo.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Tk::Photo;

use vars qw($VERSION);
$VERSION = sprintf '4.%03d', 4+q$Revision: #4 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.006'; # sprintf '4.%03d', 4+q$Revision: #4 $ =~ /\D(\d+)\s*$/;

use Tk qw($XS_VERSION);

Expand Down
2 changes: 1 addition & 1 deletion Tk/Spinbox.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Tk::Spinbox;
use strict;

use vars qw($VERSION);
$VERSION = sprintf '4.%03d',q$Revision: #6 $ =~ /#(\d+)/;
$VERSION = '4.007'; # sprintf '4.%03d',q$Revision: #6 $ =~ /#(\d+)/;

use base 'Tk::Entry';

Expand Down
2 changes: 1 addition & 1 deletion demos/demos/widget_lib/Plot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package Plot;
require 5.005_03;

use vars qw/$VERSION @ISA/;
$VERSION = sprintf '4.%03d', q$Revision: #7 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.008'; # sprintf '4.%03d', q$Revision: #7 $ =~ /\D(\d+)\s*$/;

use Tk::Frame;
use base qw/Tk::Frame/;
Expand Down
2 changes: 1 addition & 1 deletion demos/demos/widget_lib/WidgetDemo.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package WidgetDemo;
use 5.005_03;

use vars qw($VERSION);
$VERSION = sprintf '4.%03d', q$Revision: #11 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.012'; # sprintf '4.%03d', q$Revision: #11 $ =~ /\D(\d+)\s*$/;

use Tk 800.000;
use Carp;
Expand Down
2 changes: 1 addition & 1 deletion ptked
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Cwd;
use Getopt::Long;

use vars qw($VERSION $portfile);
$VERSION = sprintf '4.%03d', q$Revision: #29 $ =~ /\D(\d+)\s*$/;
$VERSION = '4.030'; # sprintf '4.%03d', q$Revision: #29 $ =~ /\D(\d+)\s*$/;

my %opt;
INIT
Expand Down

0 comments on commit 9a1447b

Please sign in to comment.