1 package Debbugs::Common;
7 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
9 # set the version for version checking
13 @EXPORT = qw( &fail );
14 %EXPORT_TAGS = ( ); # eg: TAG => [ qw!name1 name2! ],
16 # your exported package globals go here,
17 # as well as any optionally exported functions
22 use Debbugs::Config qw(%Globals);
31 # 12345 -> 5/4/3/12345
35 $name =~ /^.*?(.)(.)(.)$/ ;
37 $name =~ /^(.*?)(.)(.)$/ ;
40 $tmp =~ /^.*?(.)(.)(.)$/ ;
41 return "$3/$2/$1/$name";
45 END { } # module clean-up code here (global destructor)