Hi all,
Anybody knows how to write a script to
open a file and store the weekday(mon-sun) on first line and current datetime on
the second line of the file.
If file doesn't exist, create a new one and store the weekday and current datetime.
If it already exists, open it and get both... (2 Replies)
Dear All,
I am facing an issue related to cronjob and explained below is the case study:
1. I have a java class named "DmCheckRenditionQueue.java" and placed under "/cpc/documentum/product/5.2.5/tomcat/webapps/rendition"
2. When I am using the command
"/usr/openv/java/jre/bin/java -cp... (1 Reply)
Hi,
I am working with java and C/C++.In my java code I am using the native method to work with C/C++.So I am getting some error in C/C++ source code which I am not able to find it because It is throwing the only java null Exception....
Is there any way by which I can see the error in java console... (0 Replies)
Hi Guys,
I am working with Solaris 9 and we are developing the application which will work on different OS.So we develop the GUI using JAVA swings...
we want to display a Splash screen before starting the installation of the application...
1st we develop our application for windows and it is... (1 Reply)
Hi All,
I am establishing the proxy server to communicate the date between devices using serial port but after serial port connection,it should start the Proxy Server and still run till the communication is happening...but server became started but it became halted due to error -
Please... (1 Reply)
Hi all,
Actually I want to flash the image which I have in my system and when I am trying to do it,it is not showing it.simply creates the frame but not displaying the image.I am attaching the code--
Please take a look on it and please provide your valuable suggestions on it so that I... (2 Replies)
Hi All,
I have used the following syntax for sending email.
"mailx -s "process not running" userid@domain.com "
I am getting below error.
" mailx: not found "
Can anoy one please give the reason for this error.
I am using REDHAT server. (2 Replies)
Want few input related to unix environment and terminal settings:
1. Am trying to find a way to keep the unix terminal display intact even after opening and closing a vi/less file. Currently if I open a vim file in the unix terminal and then close the file,it displays the contents of vim file on... (4 Replies)
I am getting the following error on loading the connector DLL in IHS 8.5 on AIX 7.1
bash-4.2# /usr/32bit/IBM/HTTPServer/bin/apachectl start
httpd: Syntax error on line 902 of /usr/32bit/IBM/HTTPServer/conf/httpd.conf:
Cannot load /usr/<company_name>/IHS85/lib/libApache22Connector.a
into... (3 Replies)
Discussion started by: George47
3 Replies
LEARN ABOUT DEBIAN
news::article::nocem
NoCeM(3pm) User Contributed Perl Documentation NoCeM(3pm)NAME
News::Article::NoCeM - a module to generate accurate nocem notices
SYNOPSIS
use News::Article::NoCeM;
my $nocem = new News::Article::NoCeM();
$nocem->hide($type, $spam);
$nocem->make_notice($type, $name, $issuer, $group, $prefix);
$nocem->sign($keyid, $passphrase);
$nocem->issue($conn, $ihave);
DESCRIPTION
Creates a nocem notice on the Usenet articles, which may be posted normally to hide the messages.
USAGE
use News::Article::NoCeM;
News::Article::NoCeM is class that inherits News::Article and adds four new functions: hide(), make_notice(), sign() and issue(), redefine
to disable two functions: post() and ihave().
Article Methods
hide ( TYPE, ARTICLE, [ARTICLE, ...] )
Hide one or more articles in the given "TYPE". "ARTICLE" is an News::Article object that going to be hid. hide() will skip the
articles without Newsgroup or Message-ID and skip the ones already hid.
hide() returns the number of the articles hid.
post
ihave
post() and ihave() is disabled in News::Article::NoCeM. Please use issue() instead.
make_notice ( TYPE, NAME, GROUP, ISSUER, [ PREFIX ] )
Retrive articles marked by hide with "TYPE", and make a notice fot them. If there's only one type within a container, then the
container itself can be a notice. "NAME" is the identifier of the issuer. "GROUP" is the newsgroup the you will post nocem notice to.
"ISSUER" is the email address of the issuer. "PREFIX" is the announcement before the nocem notice, which may explain the criteria of
this notice, or where to find your public key for PGP verification.
make_notice() returns a News::Article::NoCeM object if success, and return undef if no article is hid.
sign ( KEYID, PASSPHRASE )
Sign the content of the nocem notice with "KEYID" and "PASSPHRASE". Please make sure that the issuer's public/secret keyring is ready.
sign() returns a News::Article::NoCeM object if success, and return undef if no article is hid, or pgp_sign failed.
issue ( [ CONN, IHAVE ] )
Take optional "CONN" as a Net::NNTP object and issue the nocem notice. "IHAVE" indicates that call Net::NNTP::ihave() for submitting
the notice, otherwise issue() will call News::Article::post() by default.
issue() return the result of News::Article::post() or issue().
NOTES
Standard article manipulation information can be read in the News::Article manpages.
NoCeM FAQ is available on the web at <URL:http://www.cm.org/faq.html>.
AUTHOR
Written by Yen-Ming Lee <leeym@leeym.com>, based on a module by Tim Skirvin <tskirvin@killfile.org>.
COPYRIGHT
Copyright 2004-2005 by Yen-Ming Lee <leeym@leeym.com>. This code may be redistributed under the same terms as Perl itself.
perl v5.12.4 2006-06-23 NoCeM(3pm)