10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I have a control file which will contain all filenames(300) files. Loop through all the file names in the control files and check the existence of this file in another directory(same server). I need to infinitely(2 hrs) run this while loop until all the files are found. Once a file is found,... (5 Replies)
Discussion started by: laknar
5 Replies
2. Shell Programming and Scripting
Hi,
Please help me through a shell script to run from command prompt using WLST for the below purpose:
Automation process:
>Check the availability of an application.
>Stops the EAR if it already exists in Weblogic Server
>Undeploys/Delete the project (EAR file)
>Deploys the new ear file... (2 Replies)
Discussion started by: Amulya
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
i have a file with some data ..look for some specific value in the file and if found that value rename the file with the value found in the file..
ex..
File.txt
1236 43715825601ANDERSSON,
1236 437158256031963040120060901200609010000000
1236 43715825604123 MCCL AVE UPPER
1236 ... (11 Replies)
Discussion started by: dssyadav
11 Replies
4. Shell Programming and Scripting
hello,
I have problem with writing/adjusting a shell script.
I searched forum and unfortunately couldn't write scipt based on the information I found.
I never wtire such so it's hard for me and I do need to modify one script immediately.
case looks like:
1. 'file' that needs to be modified... (3 Replies)
Discussion started by: bipbip
3 Replies
5. Shell Programming and Scripting
Want to write a function that prints an error when passed a list of file names. If the file list is empty, print error "no file found", if there are more than one file, print "error more than one file found" (22 Replies)
Discussion started by: kristinu
22 Replies
6. Shell Programming and Scripting
I have two files
File1
====
1|2000-00-00|2010-02-02||
2| 00:00:00|2012-02-24||
3|2000-00-00|2011-02-02||
File2
====
2000-00-00
00:00:00
I want the delete the patterns which are found in file 2 from file 1,
Expected output:
File1
==== (5 Replies)
Discussion started by: machomaddy
5 Replies
7. UNIX for Dummies Questions & Answers
This is my input file like this
03,105581,,015,+00000416418,,,901,+00000000148,,,922,+00000000354,,/
49,+00000000000416920,00002/
03,5313236,,015,+00231036992,,,045,+00231036992,,,901,+00000048428,,/
88,100,+0000000000000,0000000,,400,+0000000000000,0000000,/
88,902,+0000000079077,,/... (0 Replies)
Discussion started by: sgoud
0 Replies
8. Shell Programming and Scripting
Hi All :)
I am planning to undergo Weblogic Administartion Certification.
IF anyone has got certified,please guide me.
It would be more helpful,if someone shares me the materials or dumps.
Please help me.
Alvida. (0 Replies)
Discussion started by: alvida
0 Replies
9. Solaris
Hi,
I can't find the password for Weblogic console. Is it a way change it from solaris platform?
Cheers (1 Reply)
Discussion started by: mehrdad68
1 Replies
10. UNIX for Advanced & Expert Users
anyone has any ideas about web logic?
the weblogic is installed in unix, but everytimes when I tried to start the weblogic i have to start from unix with root password.
Is there anyway i can start the weblogic w/o login to unix as root?? (1 Reply)
Discussion started by: ichiro
1 Replies
CPANPLUS::inc(3pm) Perl Programmers Reference Guide CPANPLUS::inc(3pm)
NAME
CPANPLUS::inc
DESCRIPTION
OBSOLETE
NAME
CPANPLUS::inc - runtime inclusion of privately bundled modules
SYNOPSIS
### set up CPANPLUS::inc to do it's thing ###
BEGIN { use CPANPLUS::inc };
### enable debugging ###
use CPANPLUS::inc qw[DEBUG];
DESCRIPTION
This module enables the use of the bundled modules in the "CPANPLUS/inc" directory of this package. These modules are bundled to make sure
"CPANPLUS" is able to bootstrap itself. It will do the following things:
Put a coderef at the beginning of @INC
This allows us to decide which module to load, and where to find it. For details on what we do, see the "INTERESTING MODULES" section
below. Also see the "CAVEATS" section.
Add the full path to the "CPANPLUS/inc" directory to "$ENV{PERL5LIB".
This allows us to find our bundled modules even if we spawn off a new process. Although it's not able to do the selective loading as
the coderef in @INC could, it's a good fallback.
METHODS
CPANPLUS::inc->inc_path()
Returns the full path to the "CPANPLUS/inc" directory.
CPANPLUS::inc->my_path()
Returns the full path to be added to @INC to load "CPANPLUS::inc" from.
CPANPLUS::inc->installer_path()
Returns the full path to the "CPANPLUS/inc/installers" directory.
CPANPLUS::inc->original_perl5lib
Returns the value of $ENV{PERL5LIB} the way it was when "CPANPLUS::inc" got loaded.
CPANPLUS::inc->original_perl5opt
Returns the value of $ENV{PERL5OPT} the way it was when "CPANPLUS::inc" got loaded.
CPANPLUS::inc->original_inc
Returns the value of @INC the way it was when "CPANPLUS::inc" got loaded.
CPANPLUS::inc->limited_perl5opt(@modules);
Returns a string you can assign to $ENV{PERL5OPT} to have a limited include facility from "CPANPLUS::inc". It will roughly look like:
-I/path/to/cpanplus/inc -MCPANPLUS::inc=module1,module2
CPANPLUS::inc->interesting_modules()
Returns a hashref with modules we're interested in, and the minimum version we need to find.
It would looks something like this:
{ File::Fetch => 0.06,
IPC::Cmd => 0.22,
....
}
INTERESTING MODULES
"CPANPLUS::inc" doesn't even bother to try find and find a module it's not interested in. A list of interesting modules can be obtained
using the "interesting_modules" method described above.
Note that all subclassed modules of an "interesting module" will also be attempted to be loaded, but a version will not be checked.
When it however does encounter a module it is interested in, it will do the following things:
Loop over your @INC
And for every directory it finds there (skipping all non directories -- see the "CAVEATS" section), see if the module requested can be
found there.
Check the version on every suitable module found in @INC
After a list of modules has been gathered, the version of each of them is checked to find the one with the highest version, and return
that as the module to "use".
This enables us to use a recent enough version from our own bundled modules, but also to use a newer module found in your path instead,
if it is present. Thus having access to bugfixed versions as they are released.
If for some reason no satisfactory version could be found, a warning will be emitted. See the "DEBUG" section for more details on how
to find out exactly what "CPANPLUS::inc" is doing.
DEBUG
Since this module does "Clever Things" to your search path, it might be nice sometimes to figure out what it's doing, if things don't work
as expected. You can enable a debug trace by calling the module like this:
use CPANPLUS::inc 'DEBUG';
This will show you what "CPANPLUS::inc" is doing, which might look something like this:
CPANPLUS::inc: Found match for 'Params::Check' in
'/opt/lib/perl5/site_perl/5.8.3' with version '0.07'
CPANPLUS::inc: Found match for 'Params::Check' in
'/my/private/lib/CPANPLUS/inc' with version '0.21'
CPANPLUS::inc: Best match for 'Params::Check' is found in
'/my/private/lib/CPANPLUS/inc' with version '0.21'
CAVEATS
This module has 2 major caveats, that could lead to unexpected behaviour. But currently I don't know how to fix them, Suggestions are much
welcomed.
On multiple "use lib" calls, our coderef may not be the first in @INC
If this happens, although unlikely in most situations and not happening when calling the shell directly, this could mean that a lower
(too low) versioned module is loaded, which might cause failures in the application.
Non-directories in @INC
Non-directories are right now skipped by CPANPLUS::inc. They could of course lead us to newer versions of a module, but it's too tricky
to verify if they would. Therefor they are skipped. In the worst case scenario we'll find the sufficing version bundled with CPANPLUS.
perl v5.10.0 2007-12-18 CPANPLUS::inc(3pm)