[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Date::Manip and MacPerl Crashes



I'm trying to use the CPAN Date::Manip module written by Sullivan Beck
<mailto:beck@qtp.ufl.edu>.

When I run the following one-line script :

  use Date::Manip;

I get this message :

  # # Date/Manip.pm did not return a true value.
  File 'Untitled'; Line 2
  BEGIN failed--compilation aborted.
  File 'Untitled'; Line 2
  # Unbalanced scopes: 1 more ENTERs than LEAVEs
  
If I run the script several times, the line number it gives me gets
incremented by the number of lines up to the "use Date::Manip;" statement. (in
the one-line script above, by 1; if I add a comment line before, by 2,...)

If I turn the debugger on, I get this :

        Stack dump during die enabled outside of evals.
        # # Date/Manip.pm did not return a true value.
        File 'Untitled'; Line 2
        BEGIN failed--compilation aborted.
        File 'Untitled'; Line 2
        # Unbalanced scopes: 1 more ENTERs than LEAVEs

the camel cursor appears, and after several seconds, my Mac crashes hard...

I don't know if it's related but when I open the Manip.pm file in MacPerl, it
says :

        The file is too big to be edited in MacPerl. You may, however, 
        either save it as a MacPerl script or Runtime or edit it 
        with your external editor.

I'm using MacPerl 5.1.0r2b2 and Date::Manip 5.04 on a PowerMac 8500/120 with
System 7.5.3 Revision 2 French.

I've submitted the problem to Sullivan but it seems to me that the problem
doesn't come from his module...

Any help would be appreciated :-) 

Georges Martin

-- 
+-----------------------------------------------------------------------+
 Georges Martin                       <mailto:georges.martin@deboeck.be>
+-----------------------------------------------------------------------+
 Groupe De Boeck s.a.                              phone +32 10 48.25.72
 Fond Jean Paques 4                                  fax +32 10 48.25.19
 B-1348 Louvain-la-Neuve (Belgium)                   
+-----------------------------------------------------------------------+