Stories
Slash Boxes
Comments
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.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by phillup (4419) on 2005.06.09 12:26 (#41014) Homepage Journal
    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";
      ...
    }
    HTH!