06-05-2015
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Create users from template file (0 Replies)
Discussion started by: rijeshpp
0 Replies
2. Solaris
Hi
I am planning to install solaris as a virtual machine on vista as host os.
My requirements are
I want to access virtual machine from vista using putty. So how to assign static ip to virtual machine ?
In future i might have to virtual machines so i want communication between them as... (3 Replies)
Discussion started by: ankurk
3 Replies
3. Solaris
I have installed Open Solaris 10 on VMware which is hosted on Windows XP, my PC.
I would like to have a connection between Solaris and Windows, so that i can SSH/Telnet from windows to Solaris. I don't have any Internet connection.
Please help me with the network connection settings i have to... (3 Replies)
Discussion started by: mailsachin245
3 Replies
4. Red Hat
Im using CentOs 5.5 , i tried to change the host name to be for example my_server_1 , according to the web i changed the /etc/sysconf/network to look like this :
NETWORKING=yes
NETWORKING_IPV6=no
#HOSTNAME=localhost.localdomain
HOSTNAME=my_server_1
and changed the hosts file to look like this... (1 Reply)
Discussion started by: umen
1 Replies
5. AIX
Hi experts,
We are faced with a dilemma - we have a AIX server for educational purposes. We had some Oracle applications running on them. The management decided not to extend the warranty, so we are left with a server that we cannot upgrade immediately.
I was wondering if we could set up... (2 Replies)
Discussion started by: ranj@chn
2 Replies
6. Programming
Hi,
I have XML file and I extracted some tags and stored in hash, my data as look like this
$var1={
'stud.xml'={
'24'=>'<address>
<streetname="xxxx"/>
<housenum="138"/">
... (9 Replies)
Discussion started by: veerubiji
9 Replies
7. Shell Programming and Scripting
I write lots of SAS programs and would like to create a script that allows me to have a template each time I create a new program file.
Specs:
I use EVIM for my editor. I run SAS in batch mode. We use RedHat 6.
I don't use c shell.
I want a script that will do the following:
>... (3 Replies)
Discussion started by: starbecks
3 Replies
8. UNIX and Linux Applications
Help with Install KVM and Create Virtual Machines VMWare In PC.
I want to lean KVM bios Logical Volume Management by KVM and other problem fix remotely.So,I want to practice on my PC.It,s Possible then how?
Thank you (0 Replies)
Discussion started by: domaingood
0 Replies
9. Shell Programming and Scripting
Source File:
google.cz http://czechrepublic.google.com/
http://czechrepublic.google.cz http://czechrepublic.google.com/
http://brno.google.cz http://brno.google.com/
Fail Code
root@arisvm ~/g] $ cat trya
rm -f ss
for i in a.txt
do
#b=`cat $i|awk '{print $1}'`
#c=`cat $i|awk '{print... (4 Replies)
Discussion started by: invinzin21
4 Replies
10. Solaris
Hello, I am creating a Solaris 11 template on my ESXI host. I would like each VM that is deployed from the template to have its own unique host fingerprint.
With Linux, I simply delete host keys, which causes new keys to be generated at bootup (new VM deployment)
Is there a way to do this... (1 Reply)
Discussion started by: firefoxx04
1 Replies
LEARN ABOUT CENTOS
test::without::module
Test::Without::Module(3) User Contributed Perl Documentation Test::Without::Module(3)
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.16.3 2009-01-18 Test::Without::Module(3)