I am trying to run a ksh script from a Perl script, that sets up an
environment (it is way too big to translate). Anyway I am assuming that
it is run as a child, cause none of the variables are getting set. Any
help?
PG
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
At 16:15 11.23.2001 -0700, [EMAIL PROTECTED] wrote:
>I am trying to run a ksh script from a Perl script, that sets up an
>environment (it is way too big to translate). Anyway I am assuming that
>it is run as a child, cause none of the variables are getting set. Any
>help?
Perl is running that l
At 11:28 11.23.2001 -0800, Ahmed Moustafa Ibrahim Ahmed wrote:
>Hi,
>The following line of code "if (-d $filename) {" gives me the error message
>"Useless use of a variable in void context". What does this error message,
>please?
>Thanks
>--Ahmed
Check to make sure that "$filename" actually has a
I have this code snippet...
$x = 1;
$y = 2;
sub foobar {
print "You fired the subroutine!\n";
}
print <
Hey Jason,
My MUA believes you used (X-Mailer not set)
to write the following on Friday, November 09, 2001 at 9:00:17 PM.
You can use %ENV to access the environment (variables).
foreach $env_var (sort keys %ENV) {
print "$env_var = $ENV{$env_var}\n";
}
JYh> Hi Alfred, Base on your answer
Ahmed Moustafa Ibrahim Ahmed wrote:
>
> In Perl, how can I know that a file is being opened by any other process
> i.e. being edited or transferred (FTP)?
>
> I made following function but it's very slow because of the using of "lsof":
You are also using "grep" and "wc".
>
Nir Cohen wrote:
>
> I try to write a script that open 2 files .
> the first file is /etc/passwd which in the first column has the
> users name in my server .the second file is a file that has just users name in each
>row.
> I want a script that will check both files and if the users name is the
Patrick Hall wrote:
>
> http://www.ocf.berkeley.edu/";>nutz0
> http://mundissa.com/";>cronópios
> http://feralliving.blogspot.com";>feral living
> http://underwatergirl.blogspot.com";>so blue it's black
> http://genehack.org/index.html";>genehack
>
> Etc, just a big list of links.
>
> I'd like
On Fri, Nov 23, 2001 at 06:57:18PM -0500, Jim Conner wrote:
> At 16:15 11.23.2001 -0700, [EMAIL PROTECTED] wrote:
> >I am trying to run a ksh script from a Perl script, that sets up an
> >environment (it is way too big to translate). Anyway I am assuming that
> >it is run as a child, cause none o
I want to know how to make a Perl script to a Windows EXEcutable
(specifically using GUIs). I know that this can be achieved using PERL2EXE
and also using PERL DEV KIT (and even have the GUI option), but the problem
with this two programs is that they are NOT FREE and cust several hundred
dollars.
Yoiu are doing an assignment vs a check. Also when doing checking the numeric
checks are ==, > , < but for the type of chck you want , use eq (ie if ( $z eq $a ) {
# do something}
The ' if ( $z = $a )' catches most at least once.
Wags ;)
-Original Message-
From: nir
My script should be waiting for the incoming files and encrypts them as
soon as the transmission is completed. Using "lsof" makes a gap between
the arrival of the files and their encryption.
Is there any other way to know that a file is being FTPed, specifically?
Thanks,
Ahmed
On Sat, 24 Nov 2
Hi,
The following line of code "if (-d $filename) {" gives me the error
message "Useless use of a variable in void context".
What does this error message, please?
Thanks,
Ahmed
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
13 matches
Mail list logo