Code University

      "Where tuition is free!"

News | Images | Contact     
  • Home
  • Coding KC
  • Scripts
  • Software
  • Templates
  • Tutorials
  • About
 

Templates

perl program


 Copy  To New Window  Top ^
#!/usr/bin/perl -w ############################################################################# # PROGRAM # [program name goes here] # # SYNOPSIS # [program description goes here] # # USAGE # [usage syntax goes here] # # PARAMETERS # None # # OPTIONS # None # # MODULES/FILES REQUIRED # None # # PROGRAMS REQUIRED # None # # AUTHOR # FName LName # # DEVELOPMENT DATES # mm.dd.yyyy # # RELEASE DATE # mm.dd.yyyy # # COMMENTS # None # # REVISIONS # None ############################################################################# # INTERRUPT SIGNALS ############################################################################# $SIG{'INT' } = 'clean_up'; $SIG{'HUP' } = 'clean_up'; $SIG{'QUIT'} = 'clean_up'; $SIG{'TRAP'} = 'clean_up'; $SIG{'ABRT'} = 'clean_up'; $SIG{'STOP'} = 'clean_up'; $SIG{'TSTP'} = 'clean_up'; ############################################################################# # INCLUDE ############################################################################# use File::Basename; use strict; ############################################################################# # USAGE ############################################################################# my $prog = basename($0,""); sub usage { print "\nusage: $prog [param1] [param2]\n\n"; exit; } ############################################################################# # GLOBAL VARIABLES / SETTINGS ############################################################################# umask(0); ############################################################################# # MAIN ############################################################################# ############################################################################# # CLEAN UP ############################################################################# sub clean_up { exit; }
Template for perl script.


Tagged:  Perl
Templates
  • Introduction
  • .bash_alias
  • .vimrc
  • man page
  • perl program
Resources
  • CodeIgniter - MVC Framework
  • HowtoForge - Linux Tutorials
  • Linux Today - Linux News
  • Lxer - Linux News Feed
  • Monsterb - Linux, Podcasting
  • MySQL - Databasing
  • Perl - Programming
  • PHP - Programming
  • Systhread - Admin & Programming
  • W3Schools - Web Tutorials
About

Code University contains a wealth of technical information aimed at the computer sciences.


 
Home | Coding KC | Scripts | Software | Templates | Tutorials | About
Top ^
 
© 2007-2012 Code University| Disclaimer
Website template by Arcsin