Skip Menu |
 

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

Report information
The Basics
Id: 58131
Status: open
Priority: 0/
Queue: SOAP-WSDL

People
Owner: Nobody in particular
Requestors: askucins [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.00.99_3
Fixed in: (no value)



Subject: Typo in wsdl2perl.pl '=' instead '=>' near 'xmltypes' in %opt hash
In the 2.00.99_3 version there is probably a typo in the wsdl2perl.pl script: [adam@lelek bin]$ perl -c wsdl2perl.pl Can't modify constant item in scalar assignment at wsdl2perl.pl line 30, near "1," BEGIN not safe after errors--compilation aborted at wsdl2perl.pl line 34. which seems to be related to (see the last lines): [adam@lelek bin]$ head -n 31 wsdl2perl.pl|tail -n 20 my %opt = ( url => '', prefix => 'My', attribute_prefix => undef, type_prefix => undef, element_prefix => undef, typemap_prefix => undef, interface_prefix => undef, server_prefix => undef, base_path => 'lib/', proxy => undef, generator => 'XSD', server => 0, client => 1, namespaces => 0, use_typemap => 0, verbose => 0, xmltypes = 1, ); After adding that missing '>' it seems working just fine. Found with: [adam@lelek bin]$ perl -v This is perl, v5.10.1 (*) built for i686-pld-linux-thread-multi and on: [adam@lelek bin]$ uname -a Linux lelek 2.6.33.5-1 #1 SMP Fri May 28 12:36:12 CEST 2010 i686 Intel(R)_Atom(TM)_CPU_N270___@_1.60GHz PLD Linux Thanks, Adam
Subject: Re: [rt.cpan.org #58131] Typo in wsdl2perl.pl '=' instead '=>' near 'xmltypes' in %opt hash
Date: Sun, 27 Jun 2010 11:08:58 +0200
To: bug-SOAP-WSDL [...] rt.cpan.org
From: Martin Kutter <martin.kutter [...] fen-net.de>
Download (untitled) / with headers
text/plain 1.7k
Hi, fixed in SVN in rev863. Thanks, Martin Am Freitag, den 04.06.2010, 10:49 -0400 schrieb Adam Skuciński via RT: Show quoted text
> Fri Jun 04 10:49:24 2010: Request 58131 was acted upon. > Transaction: Ticket created by askucins@gmail.com > Queue: SOAP-WSDL > Subject: Typo in wsdl2perl.pl '=' instead '=>' near 'xmltypes' in %opt hash > Broken in: 2.00.99_3 > Severity: Normal > Owner: Nobody > Requestors: askucins@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=58131 > > > > In the 2.00.99_3 version there is probably a typo in the wsdl2perl.pl > script: > > [adam@lelek bin]$ perl -c wsdl2perl.pl > Can't modify constant item in scalar assignment at wsdl2perl.pl line 30, > near "1," > BEGIN not safe after errors--compilation aborted at wsdl2perl.pl line 34. > > which seems to be related to (see the last lines): > > [adam@lelek bin]$ head -n 31 wsdl2perl.pl|tail -n 20 > > my %opt = ( > url => '', > prefix => 'My', > attribute_prefix => undef, > type_prefix => undef, > element_prefix => undef, > typemap_prefix => undef, > interface_prefix => undef, > server_prefix => undef, > base_path => 'lib/', > proxy => undef, > generator => 'XSD', > server => 0, > client => 1, > namespaces => 0, > use_typemap => 0, > verbose => 0, > xmltypes = 1, > ); > > After adding that missing '>' it seems working just fine. > > Found with: > [adam@lelek bin]$ perl -v > This is perl, v5.10.1 (*) built for i686-pld-linux-thread-multi > > and on: > [adam@lelek bin]$ uname -a > Linux lelek 2.6.33.5-1 #1 SMP Fri May 28 12:36:12 CEST 2010 i686 > Intel(R)_Atom(TM)_CPU_N270___@_1.60GHz PLD Linux > > Thanks, > Adam > >


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.