Thread SOAP::Lite Request visualisieren (19 answers)
Opened by bianca at 2010-05-21 09:24

bianca
 2010-05-21 10:58
#137457 #137457
User since
2009-09-13
7016 Artikel
BenutzerIn

user image
2010-05-21T08:47:00 pq

Ja, da gurke ich gerade schon drin rum und habs mal umgebaut wie in der Doku:

Code (perl): (dl )
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;
}


Jetzt bekomme ich Abbrüche:
Code: (dl )
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 { ... }";
}


Ein no warnings 'redefine'; zu Beginn des Scripts wird ignoriert.
10 print "Hallo"
20 goto 10

View full thread SOAP::Lite Request visualisieren