Jemand zu Hause?Leser: 17
1
2
Unspecified namespace for type ':Field[6]'
...ganz viel XML Response...at script.pl line 27
use SOAP::Lite +trace;
2010-05-21T08:20:24 esskarCode (perl): (dl )use SOAP::Lite +trace;
soap_neu.pl: Bareword "trace" not allowed while "strict subs" in use at soap_neu.pl line 17.
Wie frage ich & perlintro
brian's Leitfaden für jedes Perl-Problem2010-05-21T08:47:00 pq
1 2 3 4 5 6 7
use SOAP::Lite +trace => [ fault => \&log_faults ]; sub log_faults { open LOGFILE, ">soap_trace.txt"; print LOGFILE $_[0] . "\n"; close LOGFILE; }
1
2
3
4
5
6
7
8
Subroutine SOAP::Trace::fault redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2254 (#1)
(W redefine) You redefined a subroutine. To suppress this warning, say
{
no warnings 'redefine';
eval "sub name { ... }";
}
Wie frage ich & perlintro
brian's Leitfaden für jedes Perl-Problem2010-05-21T09:00:30 pqzweiten vorschlag von esskar gelöscht, dachte der wär getestet.
2010-05-21T09:00:30 pquse SOAP::Lite +trace => 'all';
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Subroutine SOAP::Trace::transport redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2264 (#1)
(W redefine) You redefined a subroutine. To suppress this warning, say
{
no warnings 'redefine';
eval "sub name { ... }";
}
Subroutine SOAP::Trace::dispatch redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2264 (#1)
Subroutine SOAP::Trace::result redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2264 (#1)
Subroutine SOAP::Trace::parameters redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2264 (#1)
Subroutine SOAP::Trace::headers redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2264 (#1)
Subroutine SOAP::Trace::objects redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2264 (#1)
Subroutine SOAP::Trace::method redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2264 (#1)
Subroutine SOAP::Trace::fault redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2264 (#1)
Subroutine SOAP::Trace::freeform redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2264 (#1)
Subroutine SOAP::Trace::trace redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2264 (#1)
Subroutine SOAP::Trace::debug redefined at
C:/strawberry/perl/site/lib/SOAP/Lite.pm line 2264 (#1)
Wie frage ich & perlintro
brian's Leitfaden für jedes Perl-Problemuse SOAP::Lite '+trace';
2010-05-21T08:55:45 esskarCode (perl): (dl )use SOAP::Lite '+trace';
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Odd (wrong?) number of parameters in import(), still continue at soap_neu.pl line 17
Can't locate class method "+trace" via package "SOAP::Lite" at soap_neu.pl line 17
BEGIN failed--compilation aborted at soap_neu.pl line 17 (#1)
(F) You said to do (or require, or use) a file that couldn't be
found. Perl looks for the file in all the locations mentioned in @INC,
unless the file name included the full path to the file. Perhaps you
need to set the PERL5LIB or PERL5OPT environment variable to say where
the extra library is, or maybe the script needs to add the library name
to @INC. Or maybe you just misspelled the name of the file. See
perlfunc/require and lib.
Uncaught exception from user code:
Can't locate class method "+trace" via package "SOAP::Lite" at soap_neu.pl line 17
BEGIN failed--compilation aborted at soap_neu.pl line 17.
at soap_neu.pl line 17
2010-05-21T08:59:53 esskarwelche SOAP::Lite version nutzt du?
2010-05-21T09:08:22 reneeWas gibt es denn für Fehlermeldungen, wenn Du eine neuere Version installieren willst? Laut Matrix sollte die 0.711 auch unter Windows mit Strawberry installierbar sein: http://matrix.cpantesters.org/?dist=SOAP-Lite%200....
2010-05-21T09:11:38 biancaJa, das "Problem" zu lösen wäre cool, siehe Problem mit SOAP::Lite in Strawberry
Quotemöchte ich auch keine Zeit investieren.
Wie frage ich & perlintro
brian's Leitfaden für jedes Perl-Problem2010-05-21T09:31:11 pq2010-05-21T09:11:38 biancaJa, das "Problem" zu lösen wäre cool, siehe Problem mit SOAP::Lite in Strawberry
hast du seitdem schonmal versucht, die 0.711 zu ins...
Wie frage ich & perlintro
brian's Leitfaden für jedes Perl-ProblemQuoteWir sind dem Problem leider noch nicht wirklich nä...
Wie frage ich & perlintro
brian's Leitfaden für jedes Perl-Problem