Skip to content

Instantly share code, notes, and snippets.

@2shortplanks
Created June 1, 2012 13:07
Show Gist options
  • Save 2shortplanks/2852025 to your computer and use it in GitHub Desktop.
Save 2shortplanks/2852025 to your computer and use it in GitHub Desktop.
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 3482f36..76f8497 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -742,9 +742,9 @@ otherwise. In list context, returns
($package, $filename, $line) = caller;
With EXPR, it returns some extra information that the debugger uses to
-print a stack trace. The value of EXPR indicates how many call frames
+print a stack trace if the stack frame exists (and the empty list if it
+does not). The value of EXPR indicates how many call frames
to go back before the current one.
-
# 0 1 2 3 4
($package, $filename, $line, $subroutine, $hasargs,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment