in reply to Re^4: how to create a makefile using PAR::Packer
in thread how to create a makefile using PAR::Packer
nroff and groff are typesetting systems on Unix systems.
With the following two commands you can create a printable file and send it to your printer:
Karls-Mac-mini:~ karl$ groff -mm ch01 > ch01.fmt Karls-Mac-mini:~ karl$ lp ch01.fmt
Update:...ch01 is formated file...
The very basic blueprint to include code in your perl program(s) is:
Update: Foo.pm
package Foo; use strict; use warnings our $VERSION = '1.00'; use base 'Exporter'; our @EXPORT = qw( foo ); sub foo { return "bar\n"; } 1; # later, in your main program you say: use strict; use warnings use lib q(/path/to/Foo); use Foo; print foo();
See perlmod
pp for creating executables is OK (and cool) but keep in mind that this just are self extracting archives - you can unzip them.
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: how to create a makefile using PAR::Packer
by gepebril69 (Scribe) on Dec 13, 2012 at 12:08 UTC | |
by marto (Cardinal) on Dec 13, 2012 at 12:24 UTC | |
by gepebril69 (Scribe) on Dec 13, 2012 at 18:02 UTC | |
by marto (Cardinal) on Dec 13, 2012 at 19:08 UTC | |
by gepebril69 (Scribe) on Dec 13, 2012 at 22:58 UTC | |
|