Thread

  1. Re: New copyright program

    Bruce Momjian <bruce@momjian.us> — 2011-08-19T21:48:42Z

    Kris Jurka wrote:
    > 
    > 
    > On Fri, 19 Aug 2011, Kris Jurka wrote:
    > 
    > > For me this fails with:
    > > 
    > > Bareword "Tie::File" not allowed while "strict subs" in use  at
    > > /home/jurka/pg/server/postgresql/src/tools/copyright.pl line 28.
    > > 
    > 
    > This fixes things for me.  The copyright matching wasn't working for me 
    > either without escaping the parentheses.
    
    Was able to reproduce the error you reported with Perl 5.10.  I then
    tried the single-quote idea I got from Googling, but then got an error
    about TIEARRAY being missing, so I recoded it as a simple file
    open/close.  I also incorported your regex fix.  Path attached and
    applied.  Thanks.
    
    -- 
      Bruce Momjian  <bruce@momjian.us>        http://momjian.us
      EnterpriseDB                             http://enterprisedb.com
    
      + It's impossible for everything to be true. +