+ $cxt->assert_valid;
+
+ Throws an exception if the invocant has expired and is no longer valid.
+ Returns true otherwise.
+
+ "package"
+ $cxt->package;
+
+ Returns the namespace in use when the scope denoted by the invocant
+ begins.
+
+ "file"
+ $cxt->file;
+
+ Returns the name of the file where the scope denoted by the invocant
+ belongs to.
+
+ "line"
+ $cxt->line;
+
+ Returns the line number where the scope denoted by the invocant begins.
+
+ "sub_name"
+ $cxt->sub_name;
+
+ Returns the name of the subroutine called for this context, or "undef"
+ if this is not a subroutine context.
+
+ "sub_has_args"
+ $cxt->sub_has_args;
+
+ Returns a boolean indicating whether a new instance of @_ was set up for
+ this context, or "undef" if this is not a subroutine context.
+
+ "gimme"
+ $cxt->gimme;
+
+ Returns the context (in the sense of "wantarray" in perlfunc) in which
+ the scope denoted by the invocant is executed.
+
+ "eval_text"
+ $cxt->eval_text;
+
+ Returns the contents of the string being compiled for this context, or
+ "undef" if this is not an eval context.
+
+ "is_require"
+ $cxt->is_require;
+
+ Returns a boolean indicating whether this eval context was created by
+ "require", or "undef" if this is not an eval context.
+
+ "hints_bits"
+ $cxt->hints_bits;
+
+ Returns the value of the lexical hints bit mask (available as $^H at
+ compile time) in use when the scope denoted by the invocant begins.
+
+ "warnings_bits"
+ $cxt->warnings_bits;
+
+ Returns the bit string representing the warnings (available as
+ "${^WARNING_BITS}" at compile time) in use when the scope denoted by the
+ invocant begins.
+
+ "hints_hash"
+ $cxt->hints_hash;
+
+ Returns a reference to the lexical hints hash (available as "%^H" at
+ compile time) in use when the scope denoted by the invocant begins. This
+ method is available only on perl 5.10 and greater.