File tree Expand file tree Collapse file tree 3 files changed +79
-2
lines changed
Expand file tree Collapse file tree 3 files changed +79
-2
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "abstract" : " Yet another Tk interface" ,
3+ "author" : [
4+ " Gisle Aas <gisle@activestate.com>"
5+ ],
6+ "dynamic_config" : 0 ,
7+ "generated_by" : " ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010" ,
8+ "license" : [
9+ " perl_5"
10+ ],
11+ "meta-spec" : {
12+ "url" : " http://search.cpan.org/perldoc?CPAN::Meta::Spec" ,
13+ "version" : 2
14+ },
15+ "name" : " Tkx" ,
16+ "no_index" : {
17+ "directory" : [
18+ " t" ,
19+ " inc"
20+ ]
21+ },
22+ "prereqs" : {
23+ "build" : {
24+ "requires" : {
25+ "ExtUtils::MakeMaker" : " 0"
26+ }
27+ },
28+ "configure" : {
29+ "requires" : {
30+ "ExtUtils::MakeMaker" : " 0"
31+ }
32+ },
33+ "runtime" : {
34+ "requires" : {
35+ "Tcl" : " 1" ,
36+ "perl" : " 5.008"
37+ }
38+ }
39+ },
40+ "release_status" : " stable" ,
41+ "resources" : {
42+ "repository" : {
43+ "url" : " http://github.com/gisle/tkx/"
44+ },
45+ "x_MailingList" : " mailto:tcltk@perl.org"
46+ },
47+ "version" : " 1.09" ,
48+ "x_serialization_backend" : " JSON::PP version 4.02"
49+ }
Original file line number Diff line number Diff line change 1+ ---
2+ abstract : ' Yet another Tk interface'
3+ author :
4+ - ' Gisle Aas <gisle@activestate.com>'
5+ build_requires :
6+ ExtUtils::MakeMaker : ' 0'
7+ configure_requires :
8+ ExtUtils::MakeMaker : ' 0'
9+ dynamic_config : 0
10+ generated_by : ' ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010'
11+ license : perl
12+ meta-spec :
13+ url : http://module-build.sourceforge.net/META-spec-v1.4.html
14+ version : ' 1.4'
15+ name : Tkx
16+ no_index :
17+ directory :
18+ - t
19+ - inc
20+ requires :
21+ Tcl : ' 1'
22+ perl : ' 5.008'
23+ resources :
24+ MailingList : mailto:tcltk@perl.org
25+ repository : http://github.com/gisle/tkx/
26+ version : ' 1.09'
27+ x_serialization_backend : ' CPAN::Meta::YAML version 0.018'
Original file line number Diff line number Diff line change @@ -331,14 +331,15 @@ sub call {
331331 }
332332
333333 # report exception relative to the non-Tkx caller
334- if (!ref ($@ ) && $@ =~ s / ( at .*[\\\/ ](Tkx|Tcl)\. pm line \d +\.\s *\z )// ) {
334+ if (!ref ($@ ) && $@ =~ s / ^(Tcl error '?)?(.*?)('? at .*[\\\/ ](Tkx|Tcl)\. pm line \d +\.\s *\z )// s ) {
335+ my $error = $2 ;
335336 my $i = 1;
336337 my ($pkg , $file , $line );
337338 while (($pkg , $file , $line ) = caller ($i )) {
338339 last if $pkg !~ / ^Tkx(::|$) / ;
339340 $i ++;
340341 };
341- $@ . = " at $file line $line .\n " ;
342+ $@ = " $error at $file line $line .\n " ;
342343 }
343344 die $@ ;
344345}
You can’t perform that action at this time.
0 commit comments