SID-01607: General format for WebNotify
| Status: |
Answered |
TWiki version: |
5.1.2 |
Perl version: |
5.014002 (linux) |
| Category: |
CategoryEmail |
Server OS: |
Linux 2.6.42-26-generic (x86_64-linux-gnu-thread-multi) |
Last update: |
13 years ago |
The documentation indicates that
three spaces * subscriber [ : topics ]
but the only way I can get this to work to have a bullet point, a *, a space and the
WikiName
For the Sandbox, the nofification is defined as bullet point,
WikiName
Would appreciate if somebody could clarify what the correct syntax is for
WebNotify
--
LeoList - 2012-12-07
Discussion and Answer
Three spaces, a
* and a space make up a bullet in raw edit. So the format you see here in
WebNotify is correct.
--
PeterThoeny - 2012-12-08
Thanks for the clarification, but I can only get this to work if I have the following (Raw edit)
Which makes it 3 spaces, a * and a space, plus another asterix. Whe I specify the notify like that It works, but I get the following warning:
Use of uninitialized value $_ in pattern match (m//) at
/usr/share/perl/5.14/Net/Cmd.pm line 222 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it cannot
do this, so it also tells you what operation you used the undefined value
in. Note, however, that perl optimizes your program and the operation
displayed in the warning may not necessarily appear literally in your
program. For example, "that $foo" is usually optimized into "that "
. $foo, and the warning will refer to the concatenation (.) operator,
even though there is no . in your program.
[Sat Dec 8 10:01:02 2012] mailnotify: Use of uninitialized value $_ in pattern match (m//) at /usr/share/perl/5.14/Net/Cmd.pm line 222.
Use of uninitialized value in join or string at /usr/share/perl/5.14/Net/Cmd.pm
line 221 (#1)
[Sat Dec 8 10:01:02 2012] mailnotify: Use of uninitialized value in join or string at /usr/share/perl/5.14/Net/Cmd.pm line 221.
[Sat Dec 8 10:01:04 2012] mailnotify: Use of uninitialized value $_ in pattern match (m//) at /usr/share/perl/5.14/Net/Cmd.pm line 222.
[Sat Dec 8 10:01:04 2012] mailnotify: Use of uninitialized value in join or string at /usr/share/perl/5.14/Net/Cmd.pm line 221.
[Sat Dec 8 10:01:05 2012] mailnotify: Use of uninitialized value $_ in pattern match (m//) at /usr/share/perl/5.14/Net/Cmd.pm line 222.
[Sat Dec 8 10:01:05 2012] mailnotify: Use of uninitialized value in join or string at /usr/share/perl/5.14/Net/Cmd.pm line 221.
If I use the format as follows, I don't get any notifcation
--
LeoList - 2012-12-08
Odd. All working now as per documentation
--
LeoList - 2012-12-17
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.