Is there a way of finding out from perl if a process is writing to or using a
particular file ? I mean similar functionality to the fuser unix command.
Thanks
Kwabena
___
This transmission has been issued by a member o
This is an excerpt from my script. In summary the script works like this
For each database ($database_name) listed in a string the script below should do
the following (while loop)
open (AUDITREPORT, ">$database_name.txt") ; # this generates a new
file name based on the database
Hi,
I have got a list of files (same extension eg .trc) constantly being generated
into a particular directory. All these files are text files. However I only want
to retrieve and copy the files which contain a certain string. These files are
not huge about 5-10kb in size.
I'm thinking about u
Hi,
How do you extract the last character of a string
I basically want to see if a list of directory strings have a slash at the end
or not.
For eg if
$dir = 'd:/abs/fez';
I know can use the length function to get the length of $dir but how do I
extract the last character ie. z and then do
Thanks to all of you. Problem solved !
Kwabena
Hi,
How do you extract the last character of a string
I basically want to see if a list of directory strings have a slash at the end
or not.
For eg if
$dir = 'd:/abs/fez';
I know can use the length function to get the length of $dir but how
Whats the easiest way to get a count of the number of files in a directory
using pure perl ?
Any help appreciated.
Thanks
Kwabena
_
This transmission has been issued by a member of the HSBC Group
"HSBC" for the information of the addres
I am using perl on windows NT. I have two NT servers and I want to look/read
some files held on another NT server. Is there a way to read remote filesystems
or map network directories using perl ?
Any help/examples appreciated.
Thanks
Kwabena
___
Hi,
1. I need to read a configuration file of name/value pairs and be able to
retrieve 'values of names'
An eg. format of configuration file is
DIR=d:\test
ACTION=BUY
ERROR=2345
ACTION=SELL
I want to write a subroutine to retrive the value d:\test with an input
string 'DIR' say
eg. get_val
How do I get a list of directories within a directory into an array ?
Can I remove directories containing files in perl ?
Thanks
Kobby
_
This transmission has been issued by a member of the HSBC Group
"HSBC" for the information of the ad
I have installed the DBD-Oracle and DBI modules but my script falls over
when it tries to connect to the oracle database with the following error.
Has anyone got this error before ?
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage:
/usr/lib/libpthread.1
/usr/lib/dld.sl
Use a HASH instead of an array
[EMAIL PROTECTED] on 27 Jun 2003 14:27
Sent by:[EMAIL PROTECTED]
To:[EMAIL PROTECTED]
cc:
bcc:
Subject:[Perl-unix-users] Nesting foreach using multiple arrays
Hi, new to the list here; quick question !
How do I nest multiple arrays in one 'fore
When loading DBD::Oracle onto a Solaris 9 E450 with 64bit Oracle 9.2.0.1.0
using cpan I encountered the following error:
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/opt/oracle/product/9.2.0.1.0/lib:/opt/oracle/product/9.2.0.1.0/rdbms/lib"
gcc -B/usr/ccs/bin/
-G - L/usr/local/lib
12 matches
Mail list logo