stag-autotemplate.pl
stag-autotemplate.pl \ -s my-schema-name -dir ./templates my-sample-data.xml stag-autotemplate.pl \ -s my-schema-name -dir ./templates -no_pp my-stagschema.sxpr
Generates Stag SQL Templates files based on sample data or a stag-schema
See the script
stag-autoschema.pl
for generating stag schemas from sample data
do not pre-process (the input is a stag schema, not a sample data file)
directory in which to write autogenerated templates
To install DBIx::DBStag, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::DBStag
CPAN shell
perl -MCPAN -e shell install DBIx::DBStag
For more information on module installation, please visit the detailed CPAN module installation guide.