Thu Apr 16 03:12:56 2009: Request 45074 was acted upon.
Transaction: Ticket created by MSCHILLI
       Queue: PAR
     Subject: PAR doesn't include Time::Local
   Broken in: 0.992
    Severity: Important
       Owner: Nobody
  Requestors: mschi...@cpan.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=45074 >


If you create a PAR archive from a script like

    # test.pl
    use Time::Local;
    print timelocal(0,0,12,01,01,2009), "\n";

via the pp command

    $ pp -o time.par -p test.pl

then the resulting .par file doesn't contain Time::Local:

    $ unzip -l time.par

    Archive:  time.par
    Length     Date   Time    Name
    --------    ----   ----    ----
        0  04-16-09 00:08   lib/
        0  04-16-09 00:08   script/
      428  04-16-09 00:08   MANIFEST
      215  04-16-09 00:08   META.yml
      262  04-16-09 00:08   script/main.pl
       86  04-16-09 00:08   script/test.pl
    --------                   -------
      991                   6 files

And not even an explicit reference helps:

    $ pp -o time.par -M Time::Local -p test.pl

has the same effect. Is there anything special about Time::Local?

Reply via email to