Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 949 Bytes

Global.pod

File metadata and controls

45 lines (24 loc) · 949 Bytes

NAME

RevBank::Global - Constants and utility functions

SYNOPSIS

use RevBank::Global;

DESCRIPTION

This module unconditionally exports the following symbols into the calling namespace:

ACCEPT, ABORT, REJECT, NEXT, DONE

Return codes for plugins. See RevBank::Plugins.

say

Print with newline, in case your Perl version doesn't already have a say.

call_hooks($hook, @arguments)

See call_hooks in RevBank::Plugins.

parse_amount($amount)

Returns the amount given if it is well formed, undef if it was not. Dies if the given amount exceeds certain boundaries.

Commas are changed to periods so 3,50 and 3.50 both result in 3.5.

parse_user($username)

See parse_user in RevBank::Users.

Returns the canonical username, or undef if the account does not exist.

AUTHOR

Juerd Waalboer <#####@juerd.nl>

LICENSE

Pick your favourite OSI license.