diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-04-22 21:54:39 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-04-22 21:54:39 +0000 |
commit | c112aa5a76f7800297677fa372de65ad721a4666 (patch) | |
tree | 4b7eee0d91462fffe2c4814e8d162242f5084052 /NEWS | |
parent | 44b3537859dd32e2730119ce3363f032fc39cb27 (diff) | |
download | mailfromd-c112aa5a76f7800297677fa372de65ad721a4666.tar.gz mailfromd-c112aa5a76f7800297677fa372de65ad721a4666.tar.bz2 |
Introduce the module system
git-svn-id: file:///svnroot/mailfromd/trunk@1373 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -1,7 +1,7 @@ -Mailfromd NEWS -- history of user-visible changes. 2007-04-20 +Mailfromd NEWS -- history of user-visible changes. 2007-04-23 Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff See the end of file for copying conditions. Please send mailfromd bug reports to <bug-mailfromd@gnu.org.ua> @@ -48,12 +48,14 @@ The loop statement is implemented. Its syntax is: loop [name] [for <stmt>,] [while <stmt>,] [<stmt>] do ... done [while <stmt>] +See the documentation, section `Loop Statements'. + * break and next The `break' statement exits from the enclosing loop. The `next' statement resumes the next iteration of the enclosing loop statement. @@ -240,18 +242,26 @@ fails. - number hasmx (string DOMAIN) - number ismx (string DOMAIN, string IP) These are implemented in MFL and work exactly as their predecessors in 3.1.x branch. -To use the traditional calls, include file "dns.mf". +To use the traditional calls, add the following statement at the +beginning of your script file: + + #require dns + +(see the documentatio, section `Modules' for the description of +#require statement) * Function `match_cidr' -This function has been reimplemented in MFL. To use it, include -"match_cidr.mf". +This function has been reimplemented in MFL. To use it, add +`#require match_cidr' at the top of your script source (see the +documentatio, section `Modules' for the description of +#require statement) * Catch arguments Catch takes two positional arguments: $1 gives the exception code, $2 is the diagnostic string, explaining what happened in detail. |