Tags:
create new tag
view all tags

SID-01607: General format for WebNotify

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title General format for WebNotify
SupportCategory CategoryEmail
TWiki version 5.1.2
Server OS Linux 2.6.42-26-generic (x86_64-linux-gnu-thread-multi)
Web server Apache/2.2.22 (Ubuntu)
Perl version 5.014002 (linux)
Browser & version

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012-12-17 - LeoList
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.