You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by as...@hyperreal.org on 1998/11/14 17:52:46 UTC

cvs commit: modperl/lib/Apache Status.pm

ask         98/11/14 08:52:45

  Modified:    lib/Apache Status.pm
  Log:
  minor pod update
  
  Revision  Changes    Path
  1.10      +2 -2      modperl/lib/Apache/Status.pm
  
  Index: Status.pm
  ===================================================================
  RCS file: /home/cvs/modperl/lib/Apache/Status.pm,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Status.pm	1998/07/18 18:05:04	1.9
  +++ Status.pm	1998/11/14 16:52:45	1.10
  @@ -1,7 +1,7 @@
   package Apache::Status;
   use strict;
   
  -$Apache::Status::VERSION = (qw$Revision: 1.9 $)[1];
  +$Apache::Status::VERSION = (qw$Revision: 1.10 $)[1];
   
   my %is_installed = ();
   
  @@ -452,7 +452,7 @@
           my($r,$q) = @_; #request and CGI objects
           my(@strings);
           push @strings,  "blobs of html";
  -        return \@s;     #return an array ref
  +        return \@strings;     #return an array ref
       }
    ) if Apache->module("Apache::Status"); #only if Apache::Status is loaded
   
  
  
  

Re: cvs commit: modperl/lib/Apache Status.pm

Posted by Doug MacEachern <do...@pobox.com>.
>The problem is that we have to bump the VERSION number to 2.x now, and I
>don't think there's an easy way to bump the revision number (?).

might as well bump by hand to 2.00 (or 1.91?)  I fumbled with the
qw(Revision:) thing, maintaining $VERSION by hand is the easiest way to
recover.

-Doug



Re: cvs commit: modperl/lib/Apache Status.pm

Posted by Ask Bjoern Hansen <as...@netcetera.dk>.
On Fri, 15 Jan 1999, Stas Bekman wrote:

> > $VERSION = sprintf("%d.%02d", q$Revision: 1.9 $ =~ /(\d+)\.(\d+)/o); 
> > 
> > :-/
> > 
> > Should we just maintain the VERSION number by hand?
> 
> Can you do it during the 'make tar.gz' stage? To replace the template with
> the Version Number extracted from $Revision: ...
> 
> Just an idea....

I don't really understand what you mean.

The problem is that we have to bump the VERSION number to 2.x now, and I
don't think there's an easy way to bump the revision number (?).


 - ask 

-- 
ask bjoern hansen - <http://www.netcetera.dk/~ask/>


Re: cvs commit: modperl/lib/Apache Status.pm

Posted by Stas Bekman <sb...@iil.intel.com>.
> ...
> >   -$Apache::Status::VERSION = (qw$Revision: 1.9 $)[1];
> >   +$Apache::Status::VERSION = (qw$Revision: 1.10 $)[1];
> ...
> 
> This breaks CPAN.
> 
> We should use something like 
> 
> $VERSION = sprintf("%d.%02d", q$Revision: 1.9 $ =~ /(\d+)\.(\d+)/o); 
> 
> :-/
> 
> Should we just maintain the VERSION number by hand?

Can you do it during the 'make tar.gz' stage? To replace the template with
the Version Number extracted from $Revision: ...

Just an idea....


_______________________________________________________________________
Stas Bekman  mailto:sbekman@iil.intel.com    www.singlesheaven.com/stas  
Perl,CGI,Apache,Linux,Web,Java,PC at  www.singlesheaven.com/stas/TULARC
www.apache.org  & www.perl.com  == www.modperl.com  ||  perl.apache.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com


Re: cvs commit: modperl/lib/Apache Status.pm

Posted by Ask Bjoern Hansen <as...@netcetera.dk>.
On 14 Nov 1998 ask@hyperreal.org wrote:

...
>   -$Apache::Status::VERSION = (qw$Revision: 1.9 $)[1];
>   +$Apache::Status::VERSION = (qw$Revision: 1.10 $)[1];
...

This breaks CPAN.

We should use something like 

$VERSION = sprintf("%d.%02d", q$Revision: 1.9 $ =~ /(\d+)\.(\d+)/o); 

:-/

Should we just maintain the VERSION number by hand?


 - ask

-- 
ask bjoern hansen - <http://www.netcetera.dk/~ask/>