| Meta documentation | Contained in the Meta distribution. |
Meta::Baseline::Lang::Targ - language for target (cook) files.
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
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 of the License, 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, USA.
MANIFEST: Targ.pm PROJECT: meta VERSION: 0.11
package foo; use Meta::Baseline::Lang::Targ qw(); my($resu)=Meta::Baseline::Lang::Targ::env();
This package contains stuff specific to Targ in the baseline: Its mainly here to authorize entries of target files to the baseline. Maybe someday I'll do syntax checks on those also...:)
my_file($$) TEST($)
This method will return true if the file received should be handled by this module.
Test suite for this module.
Meta::Baseline::Lang(3)
None.
Name: Mark Veltzer Email: mailto:veltzer@cpan.org WWW: http://www.veltzer.org CPAN id: VELTZER
0.00 MV XML rules 0.01 MV perl packaging 0.02 MV md5 project 0.03 MV database 0.04 MV perl module versions in files 0.05 MV movies and small fixes 0.06 MV thumbnail user interface 0.07 MV more thumbnail issues 0.08 MV website construction 0.09 MV web site automation 0.10 MV SEE ALSO section fix 0.11 MV md5 issues
Meta::Baseline::Lang(3), strict(3)
Nothing.
| Meta documentation | Contained in the Meta distribution. |
#!/bin/echo This is a perl module and should not be run package Meta::Baseline::Lang::Targ; use strict qw(vars refs subs); use Meta::Baseline::Lang qw(); our($VERSION,@ISA); $VERSION="0.11"; @ISA=qw(Meta::Baseline::Lang); #sub my_file($$); #sub TEST($); #__DATA__ sub my_file($$) { my($self,$file)=@_; if($file=~/^targ\/.*\.targ$/) { return(1); } return(0); } sub TEST($) { my($context)=@_; return(1); } 1; __END__