Skip Menu |
 

This queue is for tickets about the Pod-WSDL CPAN distribution.

Report information
The Basics
Id: 16381
Status: resolved
Priority: 0/
Queue: Pod-WSDL

People
Owner: Nobody in particular
Requestors: jamsa [...] codefarm.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: 0.03



Subject: Cryptic Error on uninitilized value
Download (untitled) / with headers
text/plain 932b
The following error his happening with Pod::WSDL when I run the following code in my enviroment. In my poking around I found that the $ownType value was not being set in as far back as I could trace it from the error line below. ERROR Use of uninitialized value in concatenation (.) or string at /Library/Perl/5.8.6/Pod/WSDL/Utils.pm line 104. Can't call method "wsdlName" on an undefined value at /Library/Perl/5.8.6/Pod/WSDL/Utils.pm line 111. ENV MAC OS X 10.4.3 perl v5.8.6 CODE -- WSDL.pl -- #!/usr/bin/perl use Pod::WSDL; use lib qw( . /Sites ); use AIQ::Result; use Data::Dumper; my $pod = new Pod::WSDL(source => 'My::Foo', location => 'http://localhost/My/Server', pretty => 1); print Dumper($pod); print $pod->WSDL; -- My/Foo.pm -- package My::Foo; =begin WSDL _RETURN $My::Bar =end WSDL sub None {} 1; -- My/Bar.pm -- package My::Bar; =begin WSDL _ATTR foo $string _ATTR bar $string =end WSDL 1;


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.