Skip Menu |

This queue is for tickets about the XML-Pastor CPAN distribution.

Report information
The Basics
Id: 37593
Status: resolved
Priority: 0/
Queue: XML-Pastor

People
Owner: Nobody in particular
Requestors: jmicco [...] mathworks.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.54
Fixed in:
  • 0.6.0
  • 0.6.1
  • 0.6.2
  • 0.6.3
  • 1.0.0
  • 1.0.1



Subject: XML-Pastor package declaration too low - causes problems for Test::Unit
The Pastor.pm perl module has code including some use statements before the package declaration line. This caused issues for us when running under Test::Unit which has its own loader. We fixed it in the supplied file by moving the package declaration to the top and it worked properly.
Subject: Pastor.pm

Message body is not shown because it is too large.

This has now been fixed with version 0.6.0. It's been as simple as moving the use statements to within the package declaration. On Thu Jul 10 14:14:59 2008, jmicco wrote: Show quoted text
> The Pastor.pm perl module has code including some use statements before > the package declaration line. > > This caused issues for us when running under Test::Unit which has its > own loader. We fixed it in the supplied file by moving the package > declaration to the top and it worked properly.