File: add

package info (click to toggle)
pork 0.99.8.1-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 4,052 kB
  • ctags: 5,144
  • sloc: ansic: 35,011; sh: 3,379; perl: 931; makefile: 498
file content (9 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
SYNTAX: event add <event type> <handler cmd>
	Adds a handler for an event type. When the specified event occurs, pork will call the Perl function specified, passing it relevant parameters. See the help page for 'event' for a full description of the events system.

PARAMETERS
	<event type> : The event to be handled.
	<handler cmd>: The name of the Perl function that will be called when the event occurs.

SEE ALSO
	event