-### printscrap () ##############################################################
-#
-# fill in a template scrap and print to STDOUT
-#
-# Params: $name name of the scrap
-# ...
-# $no_nl 1 - remove newlines (\n)
-# 0 - do no such thing
-#
-# Return: success code (boolean)
-#
-sub printscrap {
- my $self = shift;
-
- $self -> scrap2file (\*STDOUT, @_);
-}
-
-### scrap2file () ##############################################################
-#
-# fill in a template scrap and print to a file handle
-#
-# Params: $handle filehandle
-# $name name of the scrap
-# ...
-# $no_nl 1 - remove newlines (\n)
-# 0 - do no such thing
-#
-# Return: success code (boolean)
-#
-sub scrap2file {
- my $self = shift;
- my $handle = shift;
-
- print $handle ${$self->scrap(@_)};
-}
-