#!/usr/bin/perl use strict; use warnings; my $foo = Inline::Foo->new('Hello, world!'); $foo->display; package Inline::Foo; sub new { my $class = shift; return bless { text => shift }, $class; } sub display { my $text = $_[0]->{text}; print "$text\n"; }
In reply to Re^2: extract all subroutines from .pm's and include in .pl
by dsheroh
in thread extract all subroutines from .pm's and include in .pl
by meyerti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |