05-23-2007
Win32 VC++ DebugBreak in Linxu
Hi,
Is there is any debugging solution in Linux similar to Win32's VC++ DebugBreak() call.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I'm looking for a X-windows client for win32. Preferably one that doesn't need to be installed so it can be run without administrator priviliges. I need it so users can logon to a unix or linux server from a windows client using X-windows. The idea is that the user must be able to use... (4 Replies)
Discussion started by: rein
4 Replies
2. Shell Programming and Scripting
Hi friends,
I am using win32::ieautomation to automate portal
Please help me with below line of code:
my $target_cell = $table_object->tableCells(2, 5);
what is $table_object in above line
I am using $browser->getTable('id:', "table_id")->tableCells(2,5);
The error I get is can't... (0 Replies)
Discussion started by: gurukottur
0 Replies
3. Windows & DOS: Issues & Discussions
Dear,
Did anybody knnow how to run the Perl script or whatever mean for testing the script in Windows? (1 Reply)
Discussion started by: Paris Heng
1 Replies
4. Shell Programming and Scripting
Is there a book available that goes into the PERL WIN32 module in depth ?
I like the Unix in a nutshell or Perl Black Book by Holzner way of teaching. Teach by example.
Anyone ?
Thanks
Popeye, Olive and sweetpea :p (1 Reply)
Discussion started by: popeye
1 Replies
5. Shell Programming and Scripting
Hi folks,
what is the command used to click on the 'x' button of popup browser window in perl windows.I am using WIN32::IEAutomation module.
Please any one can help on this.... (3 Replies)
Discussion started by: jyo123.jyothi
3 Replies
6. Shell Programming and Scripting
Hey guys,
I'm trying to go through my emails in Outlook until I find an email with a certain subject line.
I am able to send emails with no problem, but reading emails and their properties (From, Subject, etc.) is my main problem.
Basically, I don't know where to start and using search engines... (2 Replies)
Discussion started by: kooshi
2 Replies
7. UNIX for Advanced & Expert Users
Dear all;
kindly need your help in knowing what is the problem in scenario below:-
1- I have Strawberry Perl (version 5.12.0) installed on my win32 PC.
2- I have Apache server (version 2.2.16) installed on my PC as well.
I tried to install mod_perl2 using CPAN... (2 Replies)
Discussion started by: ahmad.diab
2 Replies
8. Shell Programming and Scripting
Hi all,
Is win32::OLE module is applicable in linux system???
from my understanding it is not possible..because we have to use some tools for that..for more info refer this website
http://oclug.on.ca/archives/oclug/2001-July/008100.html (1 Reply)
Discussion started by: kavi.mogu
1 Replies
9. Windows & DOS: Issues & Discussions
Hi All, How are you Guys?
I am using the Code
use Win32::IEAutomation;
# Creating new instance of Internet Explorer
my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1);
# Site navigation
$ie->gotoURL('http://www.google.com');... (4 Replies)
Discussion started by: adisky123
4 Replies
10. UNIX for Advanced & Expert Users
I am trying to export windows display to my unix SunOS
I have Windows server 2000 which has X-Win32 v6 installed.
I start X-Win32. I then go to configure session with the following details.
1. host name: myhost
2. command: xterm -ls
3 username: user1
4 password: password
Then i right... (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT LINUX
net::daemon::log
Net::Daemon::Log(3pm) User Contributed Perl Documentation Net::Daemon::Log(3pm)
NAME
Net::Daemon::Log - Utility functions for logging
SYNOPSIS
# Choose logging method: syslog or Win32::EventLog
$self->{'facility'} = 'mail'; # Default: Daemon
$self->{'logfile'} = undef; # Default
# Choose logging method: stderr
$self->{'logfile'} = 1;
# Choose logging method: IO handle
my $file = IO::File->new("my.log", "a");
$self->{'logfile'} = $file;
# Debugging messages (equivalent):
$self->Log('debug', "This is a debugging message");
$self->Debug("This is a debugging message");
# Error messages (equivalent):
$self->Log('err', "This is an error message");
$self->Error("This is an error message");
# Fatal error messages (implies 'die')
$self->Fatal("This is a fatal error message");
WARNING
THIS IS ALPHA SOFTWARE. It is *only* 'Alpha' because the interface (API) is not finalised. The Alpha status does not reflect code quality
or stability.
DESCRIPTION
Net::Daemon::Log is a utility class for portable logging messages. By default it uses syslog (Unix) or Win32::EventLog (Windows), but
logging messages can also be redirected to stderr or a log file.
Generic Logging
$self->Log($level, $msg, @args);
This is the generic interface. The logging level is in syslog style, thus one of the words 'debug', 'info', 'notice', 'err' or 'crit'.
You'll rarely need info and notice and I can hardly imagine a reason for crit (critical). In 95% of all cases debug and err will be
sufficient.
The logging string $msg is a format string similar to printf.
Utility methods
$self->Debug($msg, @args);
$self->Error($msg, @args);
$self->Fatal($msg, @args);
These are replacements for logging with levels debug and err. The difference between the latter two is that Fatal includes throwing a Perl
exception.
Chossing a logging target
By default logging will happen to syslog (Unix) or EventLog (Windows). However you may choose logging to stderr by setting
$self->{'logfile'} = 1;
This is required if neither of syslog and EventLog is available. An alternative option is setting
$self->{'logfile'} = $handle;
where $handle is any object supporting a print method, for example an IO::Handle object. Usually the logging target is choosen as soon as
you call $self->Log() the first time. However, you may force choosing the target by doing a
$self->OpenLog();
before calling Log the first time.
MULTITHREADING
The Multithreading capabitities of this class are depending heavily on the underlying classes Sys::Syslog, Win32::EventLog or IO::Handle.
If they are thread safe, you can well assume that this package is too. (The exception being that you should better call $self->OpenLog()
before threading.)
AUTHOR AND COPYRIGHT
Net::Daemon is Copyright (C) 1998, Jochen Wiedmann
Am Eisteich 9
72555 Metzingen
Germany
Phone: +49 7123 14887
Email: joe@ispsoft.de
All rights reserved.
You may distribute this package under the terms of either the GNU
General Public License or the Artistic License, as specified in the
Perl README file.
SEE ALSO
Net::Daemon(3), Sys::Syslog(3), Win32::EventLog(3), IO::Handle(3)
perl v5.12.3 2011-03-01 Net::Daemon::Log(3pm)