Re: (OS=winxp) system cmd dies but performs the command

2004-04-18 Thread John W. Krahn
Harry Putnam wrote: > > I'm not used to writing perl scripts on windows. I'm having a > problem where a system call dies but still performs the command. > I don't think I understand how exit status is checked. Did you read the documentation for system()? perldoc -f

Re: (OS=winxp) system cmd dies but performs the command

2004-04-18 Thread Chance Ervin
Looks like your slashes are pointed the wrong way. Forward=unix Back=dos --Chance - Original Message - From: "Harry Putnam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 18, 2004 6:41 PM Subject: (OS=winxp) system cmd dies but performs the comma

(OS=winxp) system cmd dies but performs the command

2004-04-18 Thread Harry Putnam
I'm not used to writing perl scripts on windows. I'm having a problem where a system call dies but still performs the command. I don't think I understand how exit status is checked. my $target = "E:/some_dir/another_dir"; system("mkdir $target") or die &qu

RE: looking for an apache stats system.

2004-03-19 Thread Kent, Mr. John (Contractor)
Try wwwstat-2.0. It's written in Perl! http://ftp.ics.uci.edu/pub/websoft/wwwstat/ John Kent smime.p7s Description: S/MIME cryptographic signature

Re: looking for an apache stats system.

2004-03-19 Thread WC -Sx- Jones
Jose Blanco wrote: I am looking for a package/module that will tabulate access statistics based on apache access logs. So far the only one I have found is AWStats on sourceforge. Does any one know of some other free software I could take a look at that does this sort of thing? Thank you! Try C

Re: looking for an apache stats system.

2004-03-19 Thread WC -Sx- Jones
Dennis G. Wicks wrote: One that has been recommended to me is Analog http://www.analog.cx/ But, it isn't written in perl! :-( Write your own? The Apache - just about all - formats are well documented. Perl is definitely a do-it-yourself language. HTH/Bill :) -- To unsubscribe, e-mail:

Re: looking for an apache stats system.

2004-03-19 Thread Dennis G. Wicks
ing for an apache stats system. > > I am looking for a package/module that will tabulate access statistics based on > apache access logs. So far the only one I have found is AWStats on sourceforge. > Does any one know of some other free software I could take a look at that does t

Re: looking for an apache stats system.

2004-03-19 Thread jeffrey_n_Dyke
I am looking for a package/module that will tabulate access statistics based on apache access logs. So far the only one I have found is AWStats on sourceforge. Does any one know of some other free software I could take a look at that does this sort of thing? _ There are m

looking for an apache stats system.

2004-03-19 Thread Jose Blanco
I am looking for a package/module that will tabulate access statistics based on apache access logs. So far the only one I have found is AWStats on sourceforge. Does any one know of some other free software I could take a look at that does this sort of thing? Thank you!

Re: Return value from system command.

2004-03-11 Thread Silky Manwani
Bingo! Got it... Thanks John and David. :) On Mar 11, 2004, at 4:38 PM, John W. Krahn wrote: Silky Manwani wrote: Hello, Hello, Back with the system command but with a different problem. I am calling a program with the system command which has arguments. This program returns a string and I

Re: Return value from system command.

2004-03-11 Thread John W. Krahn
Silky Manwani wrote: > > Hello, Hello, > Back with the system command but with a different problem. > > I am calling a program with the system command which has arguments. > This program returns a string and I need to capture it. > > @args("command",&qu

RE: Return value from system command.

2004-03-11 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Silky Manwani wrote: > Hello, > > Back with the system command but with a different problem. > > I am calling a program with the system command which has arguments. > This program returns a string and I need to capture it. > > @args("command","arg1"

Return value from system command.

2004-03-11 Thread Silky Manwani
Hello, Back with the system command but with a different problem. I am calling a program with the system command which has arguments. This program returns a string and I need to capture it. @args("command","arg1","arg2"); $res = system(@args); print $res; It

RE: Nothing executes after system.

2004-03-05 Thread Hanson, Rob
--Original Message- From: Silky Manwani [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 1:30 PM Cc: [EMAIL PROTECTED] Subject: Re: Nothing executes after system. It doesn't wait for the password. I can see that it switches the user coz the prompt changes. But as you said , yes

Re: Nothing executes after system.

2004-03-05 Thread Silky Manwani
s, execute su, then close that process. Hope that helps. Rob -Original Message- From: Silky Manwani [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 1:16 PM To: [EMAIL PROTECTED] Subject: Nothing executes after system. Hello, @args = ("/usr/bin/su","sam"); sys

RE: Nothing executes after system.

2004-03-05 Thread Hanson, Rob
cess, execute su, then close that process. Hope that helps. Rob -Original Message- From: Silky Manwani [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 1:16 PM To: [EMAIL PROTECTED] Subject: Nothing executes after system. Hello, @args = ("/usr/bin/su","sam&qu

Nothing executes after system.

2004-03-05 Thread Silky Manwani
Hello, @args = ("/usr/bin/su","sam"); system(@args); print "hello"; Any idea why print never gets executed? So, the switch user takes place but nothing gets executed after that.. Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: Returning value from system()

2004-03-03 Thread David le Blanc
> From: WC -Sx- Jones [mailto:[EMAIL PROTECTED] > Sent: Thursday, 4 March 2004 4:54 PM > To: [EMAIL PROTECTED] > Subject: Re: Returning value from system() > > [EMAIL PROTECTED] wrote: > > Hi all, > > I executed the same version of the perl script(code >

Re: Returning value from system()

2004-03-03 Thread WC -Sx- Jones
[EMAIL PROTECTED] wrote: Hi all, I executed the same version of the perl script(code is given below) which use the system() function both in linux and solaris and got exit values($?) as 65280 in solaris and -1 in linux.Any idea of why i am getting two different values in different OS. Thanks

Returning value from system()

2004-03-03 Thread [EMAIL PROTECTED]
Hi all, I executed the same version of the perl script(code is given below) which use the system() function both in linux and solaris and got exit values($?) as 65280 in solaris and -1 in linux.Any idea of why i am getting two different values in different OS. Thanks & regards, s.viswana

RE: WIN2K Active Directory qtn. execute system command with login script.

2004-03-01 Thread Tim Johnson
Kfir [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 2:50 AM To: [EMAIL PROTECTED] Subject: WIN2K Active Directory qtn. execute system command with login script. Hi, I have a command line tool (tscmd), which works fine on single user. My goal is to change TS profile for Organization Unit u

WIN2K Active Directory qtn. execute system command with login script.

2004-03-01 Thread Ronen Kfir
run on this list with my command through foreach loop. Please help! TIA! R o n e n K f i r System Administrator CIT div. Tel Aviv University Israel Tel: 972-3-6407416 Fax: 972-3-6405158 cellular: 972-55-405910 E-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Use of "System"

2004-01-20 Thread Akens, Anthony
Someone kindly pointed out that perldoc is a handy thing. - Tony -Original Message- From: Akens, Anthony Sent: Tuesday, January 20, 2004 4:31 PM To: [EMAIL PROTECTED] Subject: RE: Use of "System" Sorry all, I seem to be having problems with our company's chosen mail

RE: Use of "System"

2004-01-20 Thread Akens, Anthony
OR OPERATOR NOTIFICATION #AA8AB241 0120143504 T O OPERATOR OPERATOR NOTIFICATION #AA8AB241 0120143504 T O OPERATOR OPERATOR NOTIFICATION #AA8AB241 0120142304 T O OPERATOR OPERATOR NOTIFICATION @errors =system("errpt |head -n $diff_t | tail -n $diff"); fore

Use of "System"

2004-01-20 Thread Akens, Anthony
PERATOR OPERATOR NOTIFICATION @errors =system("errpt |head -n $diff_t | tail -n $diff"); foreach $line (@errors){ #I only care about the first field. There must be a better way! ($err_num, undef, undef, undef, undef, undef, undef) = split(" ", $line); #Use the err

RE: Client system variables

2004-01-19 Thread Tim Johnson
Maybe it would help if we knew why you wanted to do this. I'm not sure I get the whole picture of what you are trying to do. You can get system (and user) environment variables via a perl program using a module like Win32::AdminMisc or even through the registry, but that would require

RE: Client system variables

2004-01-19 Thread Igor Idrisov
Igor Idrisov wrote: >> Hi! >> >> I'd like to get some system variables via web pages from CLIENT machines. >> Does anyone know any script that would do? >> >> Thank you!. >> >Can you be more descriptive? What are system variables, to you?

Re: Client system variables

2004-01-17 Thread Wiggins d'Anconia
Igor Idrisov wrote: Hi! I'd like to get some system variables via web pages from CLIENT machines. Does anyone know any script that would do? Thank you! Can you be more descriptive? What are system variables, to you? How do you mean "web pages from CLIENT machines", generall

Client system variables

2004-01-16 Thread Igor Idrisov
Hi! I'd like to get some system variables via web pages from CLIENT machines. Does anyone know any script that would do? Thank you!

Re: ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread R. Joseph Newton
[EMAIL PROTECTED] wrote: > You see, with cgi scripting if you attempt to write to the browser without > first printing > "Content-type: text/html\n\n" > > You will get an error, and I thing this is what you are seeing. Actually, at least on my installation, IIS will return error messages to the b

Re: ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread R. Joseph Newton
Dan Muey wrote: > > $exit_value = $? >> 8; bit 8 [0 bit on high byte] > > $signal_num = $? & 127; value of 7 lowest bits > > $dumped_core = $? & 128;bit 7 [highest bit of low byte] > Just curious, what is happening here with the >> and the &. > I see there's a 128 ther

RE: ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread Dan Muey
> Dan Muey wrote: > > > > > Also IIS is, with all due respect and apologies for being OT, crap. > > Not the case, Dan. While I would never expose IIS to the > public Internet, it is an excellent tool for debugging CGI > scripts. It puts a minimum of extraneous configuration grief > into the

Re: ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread R. Joseph Newton
Dan Muey wrote: > > Also IIS is, with all due respect and apologies for being OT, crap. Not the case, Dan. While I would never expose IIS to the public Internet, it is an excellent tool for debugging CGI scripts. It puts a minimum of extraneous configuration grief into the process, and usually

RE: ActiveState ActivePerl 5.8 - system call - RESOLVED

2004-01-06 Thread Atul Vohra
Hi, Found out that the PATH size was smaller when running from the web (IIS) compared to the command prompt. Obviously, the most important path reqd for the C code was at the end. Thanks for everyone's input. Atul -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

RE: ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread William.Ampeh
Could you please try this: print "Content-type: text/html\n\n$exit_value, $signal_num, $dumped_core\n"; __ William Ampeh (x3939) Federal Reserve Board -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread William.Ampeh
d then figure out in your script if it is a SUCCESS or a FAILURE. If this was on a ?nix platform, you could use "command ticks" instead of system. That is: my $pass_out = [EMAIL PROTECTED]; Then when you are readied the browser for output display, you can either display the result o the

RE: ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread Atul Vohra
Hi, What did you mean by: > This system() call is most likely not using the shell. validate.exe checks for arguments and prints the usage in the log file. From IIS nothing is written in the log file and this being the first thing validate.exe does . Atul On Tue, 6 Jan 2004 11:19:42 -0

RE: ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread Dan Muey
Instead of $arg1 ...) 3) changeg system() line to : system("C:\\perlcode\\validate.exe $arg $arg2") or die "System call failed $!"; > . > $arg1="userid"; > $arg2="password"; > @args = ("C:\\perlcode\\validate.exe",&

RE: ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread Bakken, Luke
> $arg1="userid"; > $arg2="password"; > @args = ("C:\\perlcode\\validate.exe","$arg1","$arg2"); > system(@args); This system() call is most likely not using the shell. > $exit_value = $? >> 8; > $signal_num = $? & 1

RE: ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread Atul Vohra
Hi, I am no fan of Bill Gates either :) but the client needs to use his crap. The simplified version of code is: . $arg1="userid"; $arg2="password"; @args = ("C:\\perlcode\\validate.exe","$arg1","$arg2"); system(@args); $exit_value = $? >

RE: ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread Dan Muey
> Hi, Howdy > > We have a perl/cgi script (ActivePerl 5.8) which calls > a executable (C code) using the system command. > Ex: > . > @args = ("C:\\perlcode\\sample.pl", "arg1", "arg2"); > system(@args); $exit_value = $? >> 8

ActiveState ActivePerl 5.8 - system call

2004-01-06 Thread Atul Vohra
Hi, We have a perl/cgi script (ActivePerl 5.8) which calls a executable (C code) using the system command. Ex: . @args = ("C:\\perlcode\\sample.pl", "arg1", "arg2"); system(@args); $exit_value = $? >> 8; $signal_num = $? & 127; $dumped_core = $

Re: piped system commands

2004-01-04 Thread deb
John, thanks for the "perl" approach. Mustn't forget about that! deb At 20:59:59, on 01.02.04: Cracks in my tinfoil beanie allowed John W. Krahn to seep these bits into my brain:, > Deb wrote: > > > > I want to run a command inside a script. From the shell, here's the command: > > > > % ps -

Re: piped system commands

2004-01-02 Thread John W. Krahn
Deb wrote: > > I want to run a command inside a script. From the shell, here's the command: > > % ps -ef | /bin/egrep '/usr/lib/sendmail' | /bin/grep -v grep | /bin/awk '{print $2}' > 19460 open PS, 'ps -ef |' or die "Cannot open pipe from 'ps -ef' $!"; my $pid; while ( ) { next unless m|/

Re: piped system commands

2003-12-31 Thread drieux
On Dec 31, 2003, at 9:04 AM, deb wrote: Drieux, Vladimir??? yes, named after vladimir ilyich, it is my Sparc Box. :-) Thanks for the hints. :-) Personally I would be doing it with something like Which of course first started out as

Re: piped system commands

2003-12-31 Thread deb
At 15:58:26, on 12.30.03: Cracks in my tinfoil beanie allowed Bakken, Luke to seep these bits into my brain:, > > Instead of the useless 'grep -v grep', do this: > > % ps -ef | egrep '[/]usr/lib/sendmail' | awk '{print $2}' Ah, yes, much cleaner. Old habits die hard. :-) > > But, when I put t

Re: piped system commands

2003-12-31 Thread deb
At 17:50:40, on 12.30.03: Cracks in my tinfoil beanie allowed Andrew Gaffney to seep these bits into my brain:, > Try changing the $2 to \$2. Perl is interpolating $2 before it gets to > bash, so bash sees "/bin/awk '{print }'". > > -- Andrew, Ah!!! That was it. I should have seen that. Th

scripted piped system commands

2003-12-31 Thread deb
Happy Almost New Year! I want to run a unix system command inside a script. From the shell, here's the command(s): % ps -ef | /bin/egrep '/usr/lib/sendmail' | /bin/grep -v grep | /bin/awk '{print $2}' 19460 What is returned is the pid of the process being grep'd

Re: piped system commands

2003-12-30 Thread drieux
On Dec 30, 2003, at 3:54 PM, deb wrote: Happy Almost New Year! [..] It seems to be only going as far as dropping off the grep, and not doing the awk '{print $2}'. I've tried this with the system() call, with the same results. What am I missing? :-( you have a shell interpr

RE: piped system commands

2003-12-30 Thread Bakken, Luke
> I want to run a command inside a script. From the shell, > here's the command: > > % ps -ef | /bin/egrep '/usr/lib/sendmail' | /bin/grep -v grep > | /bin/awk '{print $2}' > 19460 Instead of the useless 'grep -v grep', do this: % ps -ef | egrep '[/]usr/lib/sendmail' | awk '{print $2}' > But

Re: piped system commands

2003-12-30 Thread Andrew Gaffney
ndmail -bd -q15m -- It seems to be only going as far as dropping off the grep, and not doing the awk '{print $2}'. I've tried this with the system() call, with the same results. Try changing the $2 to \$2. Perl is interpolating $2 before it gets to bash, so bash sees "/

piped system commands

2003-12-30 Thread deb
d -q15m -- It seems to be only going as far as dropping off the grep, and not doing the awk '{print $2}'. I've tried this with the system() call, with the same results. What am I missing? :-( deb -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

File Operations and System Calls in Perl (WAS: some doubt)

2003-12-12 Thread Tim Johnson
call unix commands/system calls from perl?(Say i want to fstat() on a file and grab the stat struct results). Is there any way?? TIA -Ajey

Re: pid of process opened by system

2003-12-09 Thread david
[EMAIL PROTECTED] wrote: > This doesn't work, because system forks itself: > > Parent > `- child1 (opened by fork) > `- child2 (opend by system of child1) > yes and sorry i misunderstood your question. david -- s,.*,<<,e,y,\n,,d,y,.s,10,,s .ss.s.s...s.s

Re: pid of process opened by system

2003-12-09 Thread perl-beginners
#-- give child 5 seconds to complete > #-- > alarm(5); > wait; > alarm(0); > }else{ > system("sleep $ARGV[0]"); This doesn't work, because system forks itself: Par

Re: pid of process opened by system

2003-12-08 Thread drieux
On Dec 8, 2003, at 5:10 PM, [EMAIL PROTECTED] wrote: On Tue, Dec 09, 2003 at 01:04:01AM +0100, [EMAIL PROTECTED] wrote: eval { local $SIG{ALRM} = sub { die "alarm\n" }; alarm 10; system($prog, @args); alarm 0; }; if($@ =~ /alarm/) { # have to kill $prog; # I tried with

Re: pid of process opened by system

2003-12-08 Thread david
[EMAIL PROTECTED] wrote: > On Tue, Dec 09, 2003 at 01:04:01AM +0100, [EMAIL PROTECTED] > wrote: >> eval { >> local $SIG{ALRM} = sub { die "alarm\n" }; >> alarm 10; >> system($prog, @args); >> alarm 0; >> }; >> if($@ =~ /alarm/) {

Re: pid of process opened by system

2003-12-08 Thread perl-beginners
On Tue, Dec 09, 2003 at 01:04:01AM +0100, [EMAIL PROTECTED] wrote: > eval { > local $SIG{ALRM} = sub { die "alarm\n" }; > alarm 10; > system($prog, @args); > alarm 0; > }; > if($@ =~ /alarm/) { > # have to kill $prog; # I tried with 'use POSIX

pid of process opened by system

2003-12-08 Thread perl-beginners
Hello, I'm doing this: eval { local $SIG{ALRM} = sub { die "alarm\n" }; alarm 10; system($prog, @args); alarm 0; } if($@ =~ /alarm/) { # have to kill $prog; } The problem is, that the process is still running after the perl script has exited. And I have to kill it by h

Re: perl interactive system commands

2003-11-27 Thread drieux
On Monday, Dec 4, 1995, at 15:32 US/Pacific, rhlinux wrote: [..] quote: --- --- system(passwd username ) --- --- but this takes the password from

Re: perl interactive system commands

2003-11-27 Thread Andrew Gaffney
rhlinux wrote: elslam 3alikom, i wanna run an interactive system command through my program for example i wanna add a user with its password that is given in the program not by the user, do any one here have any idea how can i do so in perl i tried quote

perl interactive system commands

2003-11-27 Thread rhlinux
elslam 3alikom, i wanna run an interactive system command through my program for example i wanna add a user with its password that is given in the program not by the user, do any one here have any idea how can i do so in perl i tried quote

Re: Capturing system call output value

2003-11-16 Thread R. Joseph Newton
[EMAIL PROTECTED] wrote: > Thanks that help. but I notice there is a newline included in the variable > when using the ($name)=`uname -n`; > > Is this a normal thing that I should strip? > perldoc -f chomp Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Some 'System Calls' was Re: Capturing system call output value

2003-11-15 Thread drieux
On Friday, Nov 14, 2003, at 18:39 US/Pacific, Jerry Rocteur wrote: Beautiful drieux, what a sexy way to do a system call!! And I never knew about $host = hostname;.. What a neat trick.. Keep 'em comin... Wiggins is the one who deserves the point, since he was the one with the reference t

Re: Capturing system call output value

2003-11-15 Thread Ravi Malghan
http://theoryx5.uwinnipeg.ca/CPAN/perl/pod/perlfaq8/How_can_I_capture_STDERR_from_an_externa.html --- [EMAIL PROTECTED] wrote: > Can someone help me with capturing an output of a > system() call? > > ie ($a)=system("uname -n"); > > where $a would have t

Re: Capturing system call output value

2003-11-14 Thread drieux
On Friday, Nov 14, 2003, at 10:48 US/Pacific, [EMAIL PROTECTED] wrote: Thanks that help. but I notice there is a newline included in the variable when using the ($name)=`uname -n`; [..] See the Sys::Hostname module... http://danconia.org I of course like wiggins recommendation since the more tra

RE: Capturing system call output value

2003-11-14 Thread Ned Cunningham
, November 14, 2003 1:49 PM To: Wiggins d Anconia Cc: [EMAIL PROTECTED] Subject:Re: Capturing system call output value Thanks that help. but I notice there is a newline included in the variable when using the

Re: Capturing system call output value

2003-11-14 Thread perl
Thanks that help. but I notice there is a newline included in the variable when using the ($name)=`uname -n`; Is this a normal thing that I should strip? > > >> Can someone help me with capturing an output of a system() call? >> >> ie ($a)=system("uname -n"); &g

Re: Capturing system call output value

2003-11-14 Thread Wiggins d Anconia
> Can someone help me with capturing an output of a system() call? > > ie ($a)=system("uname -n"); > > where $a would have the output value. > perldoc -q 'output of a command' You want backticks instead, though there are better ways to come by the sy

Capturing system call output value

2003-11-14 Thread perl
Can someone help me with capturing an output of a system() call? ie ($a)=system("uname -n"); where $a would have the output value. thanks - eMail solutions by http://www.swanmail.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: How to delete a file from the file system

2003-10-23 Thread Bakken, Luke
H. Look at "perldoc -f unlink" > -Original Message- > > Hi, > > Is there any module which has methods that can be used to > delete a file from the filesystem in the > windows NT environment. > > Thanks in Advance > Chinku -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

How to delete a file from the file system

2003-10-23 Thread Chinku Simon
Hi, Is there any module which has methods that can be used to delete a file from the filesystem in the windows NT environment. Thanks in Advance Chinku __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- To unsu

Re: Problem with the Perl System command

2003-10-06 Thread John W. Krahn
Chinku Simon wrote: > > Hi, Hello, > I am facing an issue with the perl system command > > The relevant lines of code are the following: > > chdir "$util"; > my @args = ("ldapmodify", "-D \"cn=$bdn\"", "-w $bp", &quo

Problem with the Perl System command

2003-10-06 Thread Chinku Simon
Hi, I am facing an issue with the perl system command The relevant lines of code are the following: chdir "$util"; my @args = ("ldapmodify", "-D \"cn=$bdn\"", "-w $bp", "-h $svr", "-f \"$ldif\"", "-c", &q

Re: Why is Perl's Object System Set Up This Way?

2003-10-01 Thread James Edward Gray II
On Wednesday, October 1, 2003, at 10:06 PM, Dan Anderson wrote: I just figured out Perl's object / modules system. And after racking my brain for hours trying to figure out the how, I was hoping somebody could explain the why -- why exactly was Perl's object system set up the way it

Why is Perl's Object System Set Up This Way?

2003-10-01 Thread Dan Anderson
I just figured out Perl's object / modules system. And after racking my brain for hours trying to figure out the how, I was hoping somebody could explain the why -- why exactly was Perl's object system set up the way it is? For instance, C++ is (unbelievably) clear: class foo

Re: ATTACK TO MY SYSTEM

2003-09-23 Thread R. Joseph Newton
Matthew Harrison wrote: > no to create more spam with spam but in the last two days, the company > I work for has recieved: > > 798 You may have received one or two if you were subscribed. If so, they offered only information and a link to a page on the M$ website where information about a secur

RE: OT: RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Dan Muey
ue, 2003-09-23 at 17:05, Dan Muey wrote: > > No thanks. I have a 99.9% fool proof system. > > > > Any email comes in and the sender is sent a notice to verify them > > selves. Which they do via a web based form then it is passed on. > > -That way autoreply funct

RE: OT: RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Dan Anderson
I'd be interested to see how that works. Would you mind sharing? -Dan On Tue, 2003-09-23 at 17:05, Dan Muey wrote: > No thanks. I have a 99.9% fool proof system. > > Any email comes in and the sender is sent a notice to verify them selves. > Which they do via a web based form

RE: OT: RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Dan Muey
No thanks. I have a 99.9% fool proof system. Any email comes in and the sender is sent a notice to verify them selves. Which they do via a web based form then it is passed on. -That way autoreply functions don't automatically verify them. - what about submitting the

RE: OT: RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Dan Anderson
.src or .bat etc... file's? > Who in the world needs to email those to you? Why not delete > (or at least bounce them although then you may get mail loops) > those so that they don't infect your system from a different folder? That is a good idea but unfortantely there are users w

RE: OT: RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Dan Muey
in good mail that doesn't. > What about the .exe or .pif or .src or .bat etc... file's? Who in the world needs to email those to you? Why not delete (or at least bounce them although then you may get mail loops) those so that they don't infect your system from a different folde

Re: OT: RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Dan Anderson
If you want to create a good filter solution do the following: 1. Automatically create whitelists -- when anyone from behind your server sends out a message add the e-mail being sent to to the whitelist. Then you know addresses which can be trusted. 2. Filter all messages through something like

Re: ATTACK TO MY SYSTEM

2003-09-23 Thread Paul Johnson
On Tue, Sep 23, 2003 at 09:13:38AM -0500, Dan Muey wrote: > My most effective filter is to look for "September 2003, Cumulative Patch" > In the body and drop it, just fyi. So no point replying to this message then? -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-m

Re: ATTACK TO MY SYSTEM

2003-09-23 Thread Dan Anderson
; Please > > I have an important attack in my system! > I received many mails from many nets! with virus attachment. > I don't have virus in my unix system. But people send mails with my mail > address. Please see mail's header. It's not from my system ip. > > I c

Re: OT: RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Daniel Staal
--On Tuesday, September 23, 2003 16:32 +0200 german aracil boned <[EMAIL PROTECTED]> wrote: Perl is the solution ;) I build an automatic system. This read mails from spam folder of my client, update a list with bad ip's (spamers) and update firewall with new ips. Now the attack to m

Re: OT: RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Jenda Krynicky
From: german aracil boned <[EMAIL PROTECTED]> > Perl is the solution ;) > > I build an automatic system. This read mails from spam folder of my > client, update a list with bad ip's (spamers) and update firewall with > new ips. Now the attack to my system is very sm

RE: RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Dan Muey
> > > > That reminds me Jenda, I've keep getting mail from you, > > I've been meaning to talk to you about that! > > > > > > For those of you who don't get that you simply must check out > > the Mail::Sender module. It's awesome! Oh and this might help > > explain my little sarcasm bit

Re: OT: RE: ATTACK TO MY SYSTEM

2003-09-23 Thread german aracil boned
Perl is the solution ;) I build an automatic system. This read mails from spam folder of my client, update a list with bad ip's (spamers) and update firewall with new ips. Now the attack to my system is very small. I have more of 1000 senders checked and with reyect connections to po

OT: RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Wiggins d'Anconia
On Tue, 23 Sep 2003 09:11:58 -0500, "Dan Muey" <[EMAIL PROTECTED]> wrote: > > > That reminds me Jenda, I've keep getting mail from you, > I've been meaning to talk to you about that! > > > For those of you who don't get that you s

Re: ATTACK TO MY SYSTEM

2003-09-23 Thread George Schlossnagle
On Tuesday, September 23, 2003, at 06:04 AM, Jenda Krynicky wrote: From: german aracil boned <[EMAIL PROTECTED]> Please help. I don't send any virus ! Shhh. I bet you don't get as many as I do :-} Learn to live with it, as long as there are stupid people on the Net there will be mail worms.

RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Dan Muey
So what version of Perl are you runnign with with this? What do you mean what does that have to do with anythign? :) My most effective filter is to look for "September 2003, Cumulative Patch" In the body and drop it, just fyi. HTH DMuey > Please > > I have an important

RE: ATTACK TO MY SYSTEM

2003-09-23 Thread Dan Muey
> > Please help. I don't send any virus ! > > Shhh. I bet you don't get as many as I do :-} > That reminds me Jenda, I've keep getting mail from you, I've been meaning to talk to you about that! For those of you who don't get that you simply must check out the Mail::Send

RE: ATTACK TO MY SYSTEM

2003-09-23 Thread David J. Taylor
erman aracil boned [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 September 2003 19:13 To: [EMAIL PROTECTED] Subject: ATTACK TO MY SYSTEM Please I have an important attack in my system! I received many mails from many nets! with virus attachment. I don't have virus in my unix system. But people

Re: ATTACK TO MY SYSTEM

2003-09-23 Thread Matthew Harrison
, Jenda Krynicky wrote: > From: german aracil boned <[EMAIL PROTECTED]> > > Please > > > > I have an important attack in my system! > > I received many mails from many nets! with virus attachment. > > I don't have virus in my unix system. But people send mails

Re: ATTACK TO MY SYSTEM

2003-09-23 Thread Jenda Krynicky
From: german aracil boned <[EMAIL PROTECTED]> > Please > > I have an important attack in my system! > I received many mails from many nets! with virus attachment. > I don't have virus in my unix system. But people send mails with my > mail address. Please see ma

ATTACK TO MY SYSTEM

2003-09-23 Thread german aracil boned
Please I have an important attack in my system! I received many mails from many nets! with virus attachment. I don't have virus in my unix system. But people send mails with my mail address. Please see mail's header. It's not from my system ip. I close now my system to more of

Re: system() problem in win98

2003-09-11 Thread sc00170
That's my command now, i haven't tried yet. I put the \n because it is written in the DDE options. I also use it under the win2k system. Without the /n i cannot open the doc. system("command.com /c start"," ",$filename_winword,"/n ","docs/$re

Re: system() problem in win98

2003-09-11 Thread Rob Dixon
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > i have the following function call > > $filename_winword="C:/Program Files/Microsoft Office/Office/WINWORD.EXE"; > > $result->{DOCUMENT_NAME}= the filename from the database. > > system

RE: system() problem in win98

2003-09-11 Thread sc00170
This problem reported to me after trying to execute my program. And it fail to open the doc file. The problem is that this man is far away from. I cannot see its system. Quoting Tim Johnson <[EMAIL PROTECTED]>: > If you don't have Win98, then I assume you know someone who

<    2   3   4   5   6   7   8   9   10   11   >