| 1 | #!/usr/bin/perl | ||
| 2 | # | ||
| 3 | #up-notify demo example program | ||
| 4 | #Copyright (C) 2004 Paul Timmins, All rights reserved. | ||
| 5 | #This program is free software; you can redistribute it and/or | ||
| 6 | #modify it under the same terms as Perl itself. | ||
| 7 | # | ||
| 8 | # | ||
| 9 | #Please change the subscriber ID to something valid. | ||
| 10 | #It's not nice to hammer nextel with phony addresses. | ||
| 11 | #Thank you! | ||
| 12 | |||
| 13 | use Net::UP::Notify; | ||
| 14 | |||
| 15 | $blah=new Net::UP::Notify; | ||
| 16 | $blah->subscriberid("1111111111-999999999_atlsnup2.adc.nexteldata.net"); | ||
| 17 | $blah->location("http://www.perl.com"); | ||
| 18 | $blah->description("Perl.Com"); | ||
| 19 | print $blah->send; | ||
| 20 |