package Mkcd::Functions; our $VERSION = '1.0.2'; use strict; use File::Path; use MDK::Common qw(substInFile); use File::NCopy qw(copy); use Mkcd::Tools qw(cpal du checkDiscs imageSize printDiscsFile config readBatchFile log_ convert_size); use Mkcd::Package qw(mkcd_build_hdlist); =head1 NAME Functions - mkcd module =head1 SYNOPSYS require Mkcd::Functions; =head1 DESCRIPTION include the disc building standard functions. =head1 SEE ALSO mkcd =head1 COPYRIGHT Copyright (C) 2000,2001 MandrakeSoft This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. =cut use vars qw(%functions $config); # need to do it to have its address #my %functions = (); # [ function name, matching regexp, [arguments list (same as above)]] $functions{disc} = [ [ "", "disc", 5, "[options]