Hi,
I am facing a problem with a script that includes a
print LOG `/opt/oracle/product/V8i/bin/sqlplus -s id/pw <.msb not found
Error 6 initializing SQL*Plus
The file is of course available but apparently some environment is missing.
Any ideas?
Thanks in advance
Ruediger
_
use File::Find ();
&File::Find::find sub {
if ( -f $_ ) {
&do_something("${File::Find::dir}/$_") or
warn qq{Could not do_something() to "${File::Find::dir}/$_: $!"\n};
# does &do_something to the file in passing the absolute path.
File::Find will change your cwd to do the find, so you cou
Title: Message
Alright, so further reading has shown that Perl
always steps through @INC from the front,
and
always uses a module from the first place it finds it.
This
means that 'Extutils::Installed.pm' and 'perl_modules_installed' are correctly
showing
the
installed version of List::U
Hong,
Here a few untested examples, I have tried to skip shortcuts to make
things a little more clear.
my @FILELIST = @ARGV;
foreach $file (@FILELIST) {
# Skip all files with .doc extention.
next if ($file =~ m/\.doc$/);
# do something.
}
OR
foreach $file (@FILELIST) {
Title: CPAN recommendations are wonky -- or is it me
CPAN still shows installed version as 1.07_00 after installing latest version (1.11).
This happens for any module which is part of the original 5.8.0 build.
@INC contains:
[EMAIL PROTECTED]:> perl -e 'for $l (@INC) { print "$l\n"; }'
Just wanted to say thank you to everyone who reponded to my query of 22,
Jul, regarding perl objects. Your explanations and pointers to the
relevant manpages helped immensely.
Cheers!
Jon
--
Jon Earle
SAVE FARSCAPE http://www.savefarscape.com/
Vegetarian - an old Indian word meaning 'lousy hu
You might be able to do it with Net::SSH module...
http://search.cpan.org/author/IVAN/Net-SSH-0.07/SSH.pm
--- Zbynek Houska <[EMAIL PROTECTED]> wrote:
> Dear perlers,
>
> I have script which will control whether simple
> network has connection (dial up) to zhe internet or
> not. Code is shown
Hong Wang wrote:
> I like to check if file with .doc extension will be excluded. for example,
> if file name is todo.doc:
>
>
> How can I use match function? What I did is not working. What I tried:
>
> if($file !~ /\.doc/)
> {
> do something
> }
>
> or
>
> if($file !~ /.doc/)
That shou