Vulcan::File
my $file = Vulcan::File->new( '/etc/passwd' ); $file->munge( regex => qr/^foo\b/, length => 1, lazy => 1 )->commit();
seek: 'set' or 'end' offset: number of lines from seek position length: number of lines to remove regex: a regular expression lazy: default to end of file if regex match failed line: a set of lines
path: alternative path to commit backup: back up original file
To install pantheon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm pantheon
CPAN shell
perl -MCPAN -e shell install pantheon
For more information on module installation, please visit the detailed CPAN module installation guide.