Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I'm waaaaayyyy behind in my reading of this site. So, sorry if you have already found an answer!

    If you are talking about the formatting of your code, then I think you want to wrap your code in "ecode" tags.
    package My::Class;
    use Param::Coerce 'from';
    package Other::Class;
    sub new { my $class = shift;
      my $param = My::Class->from(shift) or die "Bad param";