Rob,
I think you're right. I think the idea would be to have the server name
next-to-be-processed append to the file, then the next step call a single
separate script (start it if not already running, otherwise simpley "wait")
that would lock the "control file", and this script would be the singl
R. Joseph Newton wrote:
[EMAIL PROTECTED] wrote:
I'm writing a file browser script. I've learned about chmod and unix
permission numbers and what they represent. But how do I determine the
owner, group and other permission settings.
Is there a perl module that makes this chore easy?
Thanks
Tr
Hello everyone -
I'm fairly new to Perl, using Win32. I want to use perl to create some
graphs on the fly of data in a table in mySQL. Not so hard, huh? A
million people must have done this already. But the problem is, I
can't seem to get GD, short of compiling the bugger myself, which I
would rea
Does windows use the chmod command in the same manner as unix
[EMAIL PROTECTED] wrote:
> I'm writing a file browser script. I've learned about chmod and unix
> permission numbers and what they represent. But how do I determine the
> owner, group and other permission settings.
>
> Is there a perl module that makes this chore easy?
>
> Thanks
> Tricia
Ther
[EMAIL PROTECTED] wrote:
I'm writing a file browser script. I've learned about chmod and unix
permission numbers and what they represent. But how do I determine the
owner, group and other permission settings.
Is there a perl module that makes this chore easy?
perldoc -f stat
perldoc -f chmo
On Saturday, April 5, 2003, at 04:07 PM, R. Joseph Newton wrote:
George Schlossnagle wrote:
... Answering FUD
FUD = ?
Fear, Uncertainty and Doubt. Basically unsubstantiated comments used
to discredit a (competing) product.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
George Schlossnagle wrote:
> ... Answering FUD
FUD = ?
Joseph
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm writing a file browser script. I've learned about chmod and unix
permission numbers and what they represent. But how do I determine the
owner, group and other permission settings.
Is there a perl module that makes this chore easy?
Thanks
Tricia
Elias Assmann wrote:
> On Tue, Apr 01, 2003 at 10:42:57PM -0800, R. Joseph Newton wrote:
>
> > Neither language is strongly typed, as C, Java, or VB are. Although
> > both are type-sensitive, they still restrict identifiers only by
> > contaiment class.
>
> Could you elaborate on that? What do yo
Jeff Westman wrote:
> I'm posed with a problem, looking for suggestions for possible resolution. I
> have a script that has many steps in it, including telnet & ftp sessions,
> database unloads, and other routines. This script will run on a server,
> accessing a remote server. This works fine.
mel awaisi wrote:
> Hello,
>
> i have the script below retest.pl, and whe i try to run it i get nothing.
>
> [EMAIL PROTECTED] cgi-bin]# perl retest.pl
> [EMAIL PROTECTED] cgi-bin]#
>
> -retest.pl
> # Open Sendmail
> open(MAIL, "|/usr/lib/sendmail -t");
> #
mel awaisi wrote:
Hi, this is the whole script:
#!/usr/bin/perl
use strict;
use warnings;
# Open Sendmail
open(MAIL, "|/usr/lib/sendmail -t");
# Write to the sendmail program
print MAIL "To: [EMAIL PROTECTED]";
print MAIL "From: [EMAIL PROTECTED]";
print MAIL "Subject:Yoour Subject\n\n";
print MA
Jeff Westman wrote:
I'm posed with a problem, looking for suggestions for possible resolution. I
have a script that has many steps in it, including telnet & ftp sessions,
database unloads, and other routines. This script will run on a server,
accessing a remote server. This works fine. I will l
Hello,
maybe you can use flock
perldoc -f flock
I have never used this and dont know if it works in your case.
/Stefan
> I'm posed with a problem, looking for suggestions for possible resolution. I
> have a script that has many steps in it, including telnet & ftp sessions,
> database unloads,
Hi, this is the whole script:
#!/usr/bin/perl
use strict;
use warnings;
# Open Sendmail
open(MAIL, "|/usr/lib/sendmail -t");
# Write to the sendmail program
print MAIL "To: [EMAIL PROTECTED]";
print MAIL "From: [EMAIL PROTECTED]";
print MAIL "Subject:Yoour Subject\n\n";
print MAIL "Your messsage
Hello,
i have the script below retest.pl, and whe i try to run it i get nothing.
[EMAIL PROTECTED] cgi-bin]# perl retest.pl
[EMAIL PROTECTED] cgi-bin]#
-retest.pl
# Open Sendmail
open(MAIL, "|/usr/lib/sendmail -t");
# Write to the sendmail program
print MAI
I'm posed with a problem, looking for suggestions for possible resolution. I
have a script that has many steps in it, including telnet & ftp sessions,
database unloads, and other routines. This script will run on a server,
accessing a remote server. This works fine. I will likely have several
d
Meriwether Lewis wrote:
> Hi Gurus!
>
> I have the following sub which creates a random
> string. Each time I call the sub in my perl
> script it returns a random string which is fine.
> The problem is every time I run the script the
> same strings are returned. I'm running perl
> 5.001 on Windows
perldoc -f srand
- Original Message -
From: "meriwether lewis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 05, 2003 10:09 AM
Subject: random sub returns same results...
> Hi Gurus!
>
> I have the following sub which creates a random
> string. Each time I call the
sorry for the spam - my question has been answered
Hotmail was filtering the discussion list.
C
1. What is the difference between Line #1 and Line #2?
2. Why is the Line #2 declaration incorrect?
use strict;
my %option;
$option {'q'} = new CGI;
#Line 1-
$option{'Mon'} = 'Monday
1. What is the difference between Line #1 and Line #2?
2. Why is the Line #2 declaration incorrect?
use strict;
my %option;
$option {'q'} = new CGI;
#Line 1-
$option{'Mon'} = 'Monday';
#Line 2 -
$option->{'Tue'} = 'Tuesday';
print $option{'q'} -> header(),
$
Hi Gurus!
I have the following sub which creates a random
string. Each time I call the sub in my perl
script it returns a random string which is fine.
The problem is every time I run the script the
same strings are returned. I'm running perl
5.001 on Windows 2000.
sub RandomStr
{
my $i=0;
my
Vincent Bufferne wrote:
> What's about:
>
> my @foo = ( '1', '2' ,'3' );
> my $size = $#foo + 1;
> print "table size $size\n";
>
> Ouput:
> table size 3
print "Table size: ", scalar(@foo), "\n";
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Gary Stainburn wrote:
> Just to put things into perspective here
>
> 1) I made the comment about the start-up speed.
> 2) Although I use PHP frequently my feet are FIRMLY in the Perl camp
> 3) Unix Fork/Load/Exec cycle *IS* slow because of the amount of work
> involved. The MS equiv will be just
25 matches
Mail list logo