summaryrefslogtreecommitdiff
path: root/example-scripts/control-server/generate-cut-list.py
AgeCommit message (Collapse)Author
2016-02-02re-add removed shebangs for example-scriptsMaZderMind
2016-02-01cleanup shebang linesMaZderMind
2016-01-24flush after print().Carl Karsten
so that |tee will display it.
2016-01-05add cut-button and a cutlist-script and make both configurableMaZderMind
= '/^[+_A-Za-z0-9-]+(\.[+_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.[_A-Za-z0-9-]+)$/';
  • my $form = CGI::FormBuilder->new(
  • lang => 'en',
  • title => 'Omni-presence contact form',
  • method => 'POST',
  • fields => [qw/
  • name
  • email
  • human
  • eyes
  • comment
  • /],
  • validate => {
  • email => $valid_email,
  • _email => $valid_email, #fake check to silence warning of variable used only once
  • },
  • required => [qw/
  • name
  • email
  • human
  • /],
  • messages => ':en_US',
  • submit => ['Submit', 'Submit via secure connection'],
  • action => $webroot, #avoids loosing submitted values when redirected from other site
  • );
  • $form->field(
  • name => 'name',
  • class => 'form-control',
  • message => '- Please provide your name',
  • );
  • $form->field(
  • name => 'email',