Created
June 17, 2014 01:44
-
-
Save kotaroito/06a1b12be7a6bf9b03dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Devel::StackTrace::WithLexicals; | |
use Devel::StackTrace::AsHTML; | |
my $trace = Devel::StackTrace::WithLexicals->new; | |
my $html = $trace->as_html; | |
open(my $fh, '>', './tmp/stacktrace.html') or die $!; | |
print $fh $html; | |
close $fh; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment