03-26-2011
emulate aix 5.3 , how ....? pearpc didn't work
how to emulate aix 5.3
i had try pearpc , but it didn't work ...
someone have some solution?
thanks
10 More Discussions You Might Find Interesting
1. BSD
How can I send Ctrl+Alt+Del for Darwin running in PearPC for Linux? (1 Reply)
Discussion started by: eugrus
1 Replies
2. Shell Programming and Scripting
Hi all,
I am writing a script to monitor some processes existence in the system. It works perfectly by running the script manually in commend line. However, when I put it under cron to run it failed. Everything time when the variable is null in the if statment. it failed and quitted. Here is... (2 Replies)
Discussion started by: stancwong
2 Replies
3. Shell Programming and Scripting
Hi, everyone:
I post a new thread because previous post may sink and I hope the new one can be caught by your eyes.
I created a shell script and the script works fine. However, the mail program part on script didn't send email to my email box and it also didn't provide any traceable... (7 Replies)
Discussion started by: duke0001
7 Replies
4. Shell Programming and Scripting
I have created a script to strat and shutdown Oracle 10g DB on Solaris automatically when UNIX reboot. In the begining, it worked well. All of sudden, the dbstart part didn't work, other 3 part for lsnrctl, emctl, isqlplusctl all worked fine. I think it was TNS_ADMIN variable got problem. Because... (0 Replies)
Discussion started by: duke0001
0 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I am learning to debug in sgi-Irix6.5, after a core dump, I was adviced to perform a "strace", but I got the following information:
ERROR: tracer already exists
what shall I do now?
Thanks a lot
Daniel (0 Replies)
Discussion started by: lakeat
0 Replies
6. Shell Programming and Scripting
Hi
This is what I was trying to do, comment one line and add something different in a new line right next.
This is the command I want to do
more .profile | sed 's,STRING1, #STRING1 NEWLINE STRING2,'
(I´m using ',' because my string is something like this
exec... (3 Replies)
Discussion started by: alcalina
3 Replies
7. Shell Programming and Scripting
I want to filter 2nd column = 2 using awk
$ cat t
1 2
2 4
$ VAR=2
#variable worked in print
$ cat t | awk -v ID=$VAR ' { print ID}'
2
2
# but variable didn't work in awk filter
$ cat t | awk -v ID=$VAR '$2~/ID/ { print $0}' (2 Replies)
Discussion started by: honglus
2 Replies
8. SCO
Continuing saga of working on making a retail store more robust by creating a backup clone of the main server, a 1995 era :eek: PC running SCO OpenServer 5.0.0b and a discontinued Point of Sales (POS) software system.
I have a PC of the same make and model. The CPU runs faster and it has a... (5 Replies)
Discussion started by: jgt10
5 Replies
9. Shell Programming and Scripting
Hello,
Here is my crontab
# Reboot one Sunday out of 2 at 02:00
0 2 * * 0/2 /usr/bin/reboot
2017-04-16
2017-04-23
2017-04-30
and so on
I tested my crontab here, it seems to work
Http://cron.schlitt.info/index.php?c...=100&test=Test
However on my distrib linux mageďa
When I register... (4 Replies)
Discussion started by: amazigh42
4 Replies
10. UNIX for Advanced & Expert Users
Hi,
I am trying to bring down the application gracefully before bringing down AIX OS/LPAR using RC directories.
Issue: Application script is not working properly during/before AIX OS/LPAR shutdown. looks like "rc.d" directories doesn't recognize Kill script.
But Startup script (using... (0 Replies)
Discussion started by: System Admin 77
0 Replies
LEARN ABOUT DEBIAN
test::without::module
Test::Without::Module(3pm) User Contributed Perl Documentation Test::Without::Module(3pm)
NAME
Test::Without::Module - Test fallback behaviour in absence of modules
SYNOPSIS
use Test::Without::Module qw( My::Module );
# Now, loading of My::Module fails :
eval { require My::Module; };
warn $@ if $@;
# Now it works again
eval q{ no Test::Without::Module qw( My::Module ) };
eval { require My::Module; };
print "Found My::Module" unless $@;
DESCRIPTION
This module allows you to deliberately hide modules from a program even though they are installed. This is mostly useful for testing
modules that have a fallback when a certain dependency module is not installed.
EXPORT
None. All magic is done via "use Test::Without::Module LIST" and "no Test::Without::Module LIST".
Test::Without::Module::get_forbidden_list
This function returns a reference to a copy of the current hash of forbidden modules or an empty hash if none are currently forbidden. This
is convenient if you are testing and/or debugging this module.
ONE LINER
A neat trick for using this module from the command line was mentioned to me by NUFFIN and by Jerrad Pierce:
perl -MTest::Without::Module=Some::Module -w -Iblib/lib t/SomeModule.t
That way, you can easily see how your module or test file behaves when a certain module is unavailable.
BUGS
o There is no lexical scoping
CREDITS
Much improvement must be thanked to Aristotle from PerlMonks, he pointed me to a much less convoluted way to fake a module at
<http://www.perlmonks.org/index.pl?node=192635>.
I also discussed with him an even more elegant way of overriding CORE::GLOBAL::require, but the parsing of the overridden subroutine didn't
work out the way I wanted it - CORE::require didn't recognize barewords as such anymore.
NUFFIN and Jerrad Pierce pointed out the convenient use from the command line to interactively watch the behaviour of the test suite and
module in absence of a module.
AUTHOR
Copyright (c) 2003-2009 Max Maischein, <corion@cpan.org>
LICENSE
This module is released under the same terms as Perl itself.
SEE ALSO
Devel::Hide, Acme::Intraweb, PAR, perlfunc
perl v5.10.0 2009-01-18 Test::Without::Module(3pm)