Filehandles

2001-06-22 Thread VeeraRaju_Mareddi
Dear All I want STDOUT to be sent to a FILESHANDLE. I have a script writing output DISPLAY..But I wanna this to be going into a file through FILEHANDLES .. Ur Help is Highly APPRECIATED Thanx and Regards Rajuveera

creating ,interacting with a process on a remote machin

2001-06-22 Thread VeeraRaju_Mareddi
Dear All Is there any Module/Function that creates, interact with the sockets on remote machine?. I am not able to find this function in IO::Socket::INET. Actually my program should create a socket on a remote machine ,Creating a process and Interacting with that socket... Please suggest me som

RE: Remote control

2001-06-22 Thread VeeraRaju_Mareddi
Dear All, I have VNC with me .But I was supposed to do the same task using PERL Scripts and Modules. If you have any modules relating to this task,, Please tell me Thanx and Regards Rajuveera -- From: Ichim, Adrian [SMTP:[EMAIL PROTECTED]] Sent: Friday, June 22

Re: Kernel Messages

2001-06-22 Thread Karthik Krishnamurthy
i dont think perl has a syslog function. you could pipe the message to logger though. a better way would be invoke the system call syslog. /kk On Sat, Jun 23, 2001 at 08:07:53AM -0400, Ryan Gralinski wrote: > How do i use perl to log to syslog ? > as a kernel message that comes out in syslog, and

Re[2]: A better way?

2001-06-22 Thread iansmith
On Fri, 22 Jun 2001, Tim Musson wrote: > I am using the most recent from ActiveState, but I tend to stick the & > out there so I can tell at a glance that I am calling a sub. Does it > cause problems or is it just not needed? It doesn't cause any problems that I am aware of. Go ahead and use it

Re[2]: A better way?

2001-06-22 Thread Tim Musson
Hey Paul, Friday, June 22, 2001, 10:14:28 PM, you wrote: >> if ($Var eq "String") { &Sub($Var1); } elsif ($Var2 =~ >> /$STRING/) { &Sub($Var1); } >> >> Is this a better way? >> >> if (($Var eq "String") || ($Var2 =~ /$STRING/)) { >> &Sub($Var1); >> } P> I like it better. P> Perso

Re[2]: A better way?

2001-06-22 Thread Tim Musson
Hey iansmith, Friday, June 22, 2001, 10:15:49 PM, you wrote: >> &Sub($Var1); } snip i> You can also leave off the & if you are using Perl 5. I am using the most recent from ActiveState, but I tend to stick the & out there so I can tell at a glance that I am calling a sub. Does it cause p

Re: A better way?

2001-06-22 Thread iansmith
On Fri, 22 Jun 2001, Tim Musson wrote: > Is this a better way? > > if (($Var eq "String") || ($Var2 =~ /$STRING/)) { > &Sub($Var1); > } I usually write... if ($Var eq "String" or $Var2 =~ /$STRING/) { ...as I like the diffrent precidence of the 'or' operator. You can also leave off the & i

Re: A better way?

2001-06-22 Thread Paul
--- Tim Musson <[EMAIL PROTECTED]> wrote: > Hey all, > > I have this code fragment. > > if ($Var eq "String") { > &Sub($Var1); > } elsif ($Var2 =~ /$STRING/) { > &Sub($Var1); > } > > Is this a better way? > > if (($Var eq "String") || ($Var2 =~ /$STRING/)) { > &Sub($Var1); > } I

Re: Kernel Messages

2001-06-22 Thread Chris Hedemark
http://www.perl.com/pub/doc/manual/html/lib/Sys/Syslog.html - Original Message - From: "Ryan Gralinski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 23, 2001 8:07 AM Subject: Kernel Messages > How do i use perl to log to syslog ? > as a kernel message that comes out

Re: How do I determine number of matches in a regex?

2001-06-22 Thread iansmith
On Fri, 22 Jun 2001, Brett W. McCoy wrote: >There is no equivalent operator to force an >expression to be interpolated in list context >because in practice, this is never needed. If you >really wanted to do so, however, you could use

A better way?

2001-06-22 Thread Tim Musson
Hey all, I have this code fragment. if ($Var eq "String") { &Sub($Var1); } elsif ($Var2 =~ /$STRING/) { &Sub($Var1); } Is this a better way? if (($Var eq "String") || ($Var2 =~ /$STRING/)) { &Sub($Var1); } -- [EMAIL PROTECTED] Using The Bat! eMail v1.53d Windows NT 5.0.2195 (Ser

Re: How do I determine number of matches in a regex?

2001-06-22 Thread Brett W. McCoy
On Fri, 22 Jun 2001, iansmith wrote: > Perhaps that should be added to the POD docs for scalar(). Until > it was pointed out to me, I didn't realise how little sense > the reverse was. It should be obvious, but from the number of > times it gets talked about, it isn't. You can upgrade a ship i

Re: How do I determine number of matches in a regex?

2001-06-22 Thread iansmith
Normally I'd be sorry for opening a can of worms, but this one was informative enough that I'm glad I did. :-) After thinking about it for a few minutes, I can't think of a use for list() that doesn't just count elements.. so it does seem like a rather useless addition.. and confusing too since t

RE: HTTP::Status status_message($rc) & LWP::Simple

2001-06-22 Thread perl
To get the status message from a http request from lwp: my $res = $ua->request($req); my $errorCode=$res->status_line Economic perl programming and perl debugging http://www.fluxcenter.com -

Re: How do I determine number of matches in a regex?

2001-06-22 Thread Randal L. Schwartz
> "iansmith" == iansmith <[EMAIL PROTECTED]> writes: iansmith> On Fri, 22 Jun 2001, Paul wrote: >> $count = () = /$pattern/g; iansmith> This seems like a place that an array() operator like scalar() iansmith> woudl be usefull. Then you could do '$count = array(/$pat/g);' iansmith> instead.

Kernel Messages

2001-06-22 Thread Ryan Gralinski
How do i use perl to log to syslog ? as a kernel message that comes out in syslog, and console.. Ryan

SSL script troubles

2001-06-22 Thread K Old
Hello, I cannot get the following script using Net::SSLeay and OpenSSL to work correctly. I would really like to print what post_https is sending to the screen before it is sent to the SSL server. Any ideas? #!/usr/local/bin/perl # # CHANGE THE ABOVE TO POINT TO PERL 5.004 ON YOUR SE

Re: How do I determine number of matches in a regex?

2001-06-22 Thread Michael Fowler
On Fri, Jun 22, 2001 at 05:33:48PM -0400, Brett W. McCoy wrote: > But then it should be list(), not array(). There is list context and > scalar context, but not array context. Anyway, () is usually enough to > force a list context, if appropriate (we saw yesterday a case where it > doesn't). sc

Re: How do I determine number of matches in a regex?

2001-06-22 Thread Michael Fowler
On Fri, Jun 22, 2001 at 04:35:43PM -0400, Brett W. McCoy wrote: > > On Fri, 22 Jun 2001, Paul wrote: > > > $count = () = /$pattern/g; > > However, remember that () is not creating an array, it's creating a list > context, and then it gets forced into a scalar context. Except that's wrong, becau

Re: Conecting my web server to informix.

2001-06-22 Thread Chas Owens
Oops, forgot to mention that you also need the DBI and DBD::Informix modules (these are free unlike the CSDK). On 22 Jun 2001 17:37:07 -0400, Chas Owens wrote: > What you need is the ESQL/C compiler and libraries; they are in the CSDK > product (http://www.informix.com/idn-secure/Linux/TOOLS/CS

GD::Graph

2001-06-22 Thread Michael D . Risser
Does any one knw why I get a red and a green bar side-by-side for the same value when using GD::Graph::bars? Is there any way to stop thjis behavior? I've checked the perldocs on GD::Graph, but can't find anything about it. Here is the code I am using: use GD::Graph::bars; # Get a new

Re: GDBM_File

2001-06-22 Thread Me
> "use GDBM_File;" works OK what did your tie statement look like?

Re: HTTP::Status status_message($rc) & LWP::Simple

2001-06-22 Thread Me
Do you mean use the result from such a call, or how to do such a call? I'm guessing doing the call, and a somewhat wild guess is: HTTP::Status::status_message($rc) Assuming $rc has been set to something You may need to do a: use HTTP::Status; or similar, before you make the call. And

Re: Conecting my web server to informix.

2001-06-22 Thread Chas Owens
What you need is the ESQL/C compiler and libraries; they are in the CSDK product (http://www.informix.com/idn-secure/Linux/TOOLS/CSDK/). On 22 Jun 2001 17:23:20 +, Joe Echavarria wrote: > Hi there, > > I have this situation : > > I have one computer running a red hat linxu 7.1 as a we

Re: Another Regex Question

2001-06-22 Thread M.W. Koskamp
- Original Message - From: Jack Lauman <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 11:48 PM Subject: Another Regex Question > I'm trying to create a CSV file from the text data below. Lines > containing High and Low Tide data have 9 fields, lines having >

RE: How do I determine number of matches in a regex?

2001-06-22 Thread Brett W. McCoy
On Fri, 22 Jun 2001, iansmith wrote: > Which is what array() should do.. force the inside of the paren to > be a list context, just like scalar() forces a scalar context. > > $count = scalar( () = /$pat/g ); is the same as the above example. > > $count = scalar( array( /$pat/g ) ); should work, i

GDBM_File

2001-06-22 Thread Jaume Badiella i Aguilera
I have perl 5.6.0 with GDBM support (libgdbm) compiled and tested. "use GDBM_File;" works OK, but files generated this way do not seem to be GNU DBM files. They rather look like NDBM files (this arose from the comparison of perl-generated GDBM files with GNU-gettext generated files). Does anybod

Re: How do I determine number of matches in a regex?

2001-06-22 Thread Jeff 'japhy' Pinyan
On Jun 22, Chas Owens said: >On 22 Jun 2001 17:11:42 -0400, Jeff 'japhy' Pinyan wrote: >> On Jun 22, Bradford Ritchie said: >> >> >Does anyone know how to count the number of times a regex (global) >> >matches? >> >> Either: >> >> $count += while /regex/g; > >I think you meant: > >$count++ w

Re: How do I determine number of matches in a regex?

2001-06-22 Thread Chas Owens
On 22 Jun 2001 17:11:42 -0400, Jeff 'japhy' Pinyan wrote: > On Jun 22, Bradford Ritchie said: > > >Does anyone know how to count the number of times a regex (global) > >matches? > > Either: > > $count += while /regex/g; I think you meant: $count++ while /regex/g; or $count += 1 while /re

Re: Komodo

2001-06-22 Thread Richard Hulse
Slw! Download ActiveState Perl and use OptiPerl www.xarka.com. It is faster, cheaper and has all the debugging stuff built in. regards, Richard At 12:47 22/06/2001 +0200, Aaron Craig wrote: >Has anyone tried the Komodo development environment from >ActiveState? Must you have ActiveStat

Conecting my web server to informix.

2001-06-22 Thread Joe Echavarria
Hi there, I have this situation : I have one computer running a red hat linxu 7.1 as a web server and another computer running a NCR MP-RAS SVR4 UNIX System that has a informix database installed. I am trying to write Perl CGI applications on my Red Hat System but i don't know how i co

Re: How do I determine number of matches in a regex?

2001-06-22 Thread Jeff 'japhy' Pinyan
On Jun 22, Bradford Ritchie said: >Does anyone know how to count the number of times a regex (global) >matches? Either: $count += while /regex/g; or $count = () = /regex/g; As for the "make it list context" function, here it is: sub list_context { @_ } Now you can say $count = lis

Re: LWP modules

2001-06-22 Thread Me
> there are some forms which execute a > javascript on their SUBMIT button and > the on executing them from my script > it gives me an error that javascript is > not supported like http, ftp or other > protocols. Is the word "javascript" anywhere in your perl script? Do you mean the action= par

RE: How do I determine number of matches in a regex?

2001-06-22 Thread iansmith
On Fri, 22 Jun 2001, Brett W. McCoy wrote: > > On Fri, 22 Jun 2001, Paul wrote: > > > $count = () = /$pattern/g; > > > > This seems like a place that an array() operator like scalar() > > woudl be usefull. Then you could do '$count = array(/$pat/g);' > > instead. I know the above works well, bu

Re: [OT] comparing strings

2001-06-22 Thread Paul
--- "Jos I. Boumans" <[EMAIL PROTECTED]> wrote: > yeah, rub it in... i already corrected it... not sure *what* i was > thinking... br4n3 fry... > > SORRY =) lol -- not that I would criticize a better coder. Just watching out for the nu-B's. Notice *I* didn't even *attempt* to implement Inline:

Re: DBI Module

2001-06-22 Thread FRANCISCO VALLADOLID
The best place for learning to use DBI is, Alligator Descartes Home.. http://dbi.symbolstone.org/ Regards...! --- Jos Boumans <[EMAIL PROTECTED]> wrote: > try reading this article: > > http://www.perl.com/pub/1999/10/DBI.html > > hth, > > Jos Boumans > > Diego Riaño wrote: > > > Hi Every

Re: Format Reports

2001-06-22 Thread Me
> Hi > Is there a module out there that will help me > format data coming from an Access Database. > Win32::OLE looks a bit daunting though I'm > sure it will allow the typographic variety I'm > looking for. That's too vague. Basically, please explain your constraints. If there are none, then i

RE: How do I determine number of matches in a regex?

2001-06-22 Thread Brett W. McCoy
On Fri, 22 Jun 2001, iansmith wrote: > On Fri, 22 Jun 2001, Paul wrote: > > $count = () = /$pattern/g; > > This seems like a place that an array() operator like scalar() > woudl be usefull. Then you could do '$count = array(/$pat/g);' > instead. I know the above works well, but it would be nic

Re: sleep

2001-06-22 Thread Brett W. McCoy
On Fri, 22 Jun 2001, Jerry Preston wrote: > I have a perl cgi script that works great. I want to put it into and > endless loop, put my problem is that my page keeps adding onto it's > self. How do I redisplay the web screen without it adding on to it? How are you doing this? You probably wan

RE: How do I determine number of matches in a regex?

2001-06-22 Thread iansmith
On Fri, 22 Jun 2001, Paul wrote: > $count = () = /$pattern/g; This seems like a place that an array() operator like scalar() woudl be usefull. Then you could do '$count = array(/$pat/g);' instead. I know the above works well, but it would be nice for completeness to have array() as well as sca

sleep

2001-06-22 Thread Jerry Preston
Hi, I have a perl cgi script that works great. I want to put it into and endless loop, put my problem is that my page keeps adding onto it's self. How do I redisplay the web screen without it adding on to it? Thanks, Jerry

Re: comparing strings

2001-06-22 Thread Jos I. Boumans
yeah, rub it in... i already corrected it... not sure *what* i was thinking... br4n3 fry... SORRY =) - Original Message - From: "Paul" <[EMAIL PROTECTED]> To: "Jos I. Boumans" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 10:02 PM Subject: Re: comparing strings

Re: comparing strings

2001-06-22 Thread Paul
--- "Jos I. Boumans" <[EMAIL PROTECTED]> wrote: > stricly speaking 'foo' == 'bar' since both should yield 3. er? print int('foo'); # prints 0 __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

LWP modules

2001-06-22 Thread Prachi Shroff
Hi folks, I have been trying to automate the travelling thru a webpagefilling out forms , submitting them and capturing their output using the LWP::UserAgent and LWP::RobotUA objects..there are some forms which execute a javascript on their SUBMIT button and the on executing them from

RE: How do I determine number of matches in a regex?

2001-06-22 Thread Paul
--- Wagner-David <[EMAIL PROTECTED]> wrote: > $count = @matches = /$pattern/g; If you don't want to save the hits, try: $count = () = /$pattern/g; __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.

Re: How do I determine number of matches in a regex?

2001-06-22 Thread Brett W. McCoy
On Fri, 22 Jun 2001, Bradford Ritchie wrote: > Does anyone know how to count the number of times a regex (global) matches? > > According to the docs, m/$pattern/g will return true (which I think is > "1") upon success, but not the nubmer of times matched. > > I tried the following: > $count

HTTP::Status status_message($rc) & LWP::Simple

2001-06-22 Thread Drew Cohan
How would I adapt the else print statement to use HTTP::Status status_message($rc)? TIA drew -- snip -- use LWP::Simple; while (<>){ if (get $_) { # url is ok print; } else { # couldn't get url print "\nAn error occured with $_\n";

RE: How do I determine number of matches in a regex?

2001-06-22 Thread Wagner-David
That is one way. Another would be to use: while ( /$pattern/g ) { $count++ ) Wags ;) -Original Message- From: Bradford Ritchie [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 12:48 To: [EMAIL PROTECTED] Subject: How do I determine number of matches in a regex? Does anyone

How do I determine number of matches in a regex?

2001-06-22 Thread Bradford Ritchie
Does anyone know how to count the number of times a regex (global) matches? According to the docs, m/$pattern/g will return true (which I think is "1") upon success, but not the nubmer of times matched. I tried the following: $count = @matches = /$pattern/g; and this works, but it seem

libgd 1.8.3

2001-06-22 Thread [Rajib Mukherjee]
hi all, i am trying to insta GD.pm for PERL it needs libgd 1.8.3 as a pre-requisite cant find on net !! - any leads ??? rajib _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Re: comparing strings

2001-06-22 Thread Jos I. Boumans
to prove i sometimes write utter non sence too after a long week: 'foo' == 'bar' is true because they are both ZERO, not because their length is both 3 'bar' == 'quux' too, etc my humble apologies... > i'm not sure i follow where you want to go... > are you trying to compare ascii value? or len

Re: comparing strings

2001-06-22 Thread Jos I. Boumans
i'm not sure i follow where you want to go... are you trying to compare ascii value? or length of a string? stricly speaking 'foo' == 'bar' since both should yield 3. and if you want to compare on a being in the alphabet before b, you'd want something like: if (a lt b) { print "foo" } perldoc p

Re: comparing strings

2001-06-22 Thread Peter Scott
At 02:30 PM 6/22/01 -0500, Nick Transier wrote: >Does anyone know a way to make boolean comparisons between strings? >For example, I want 'a' < 'b' to be true 'a' lt 'b' >, but perl says 'a' == 'b' is true. 'a' eq 'b' is false 'a' == 'b' is true because each string is interpreted in a numeric

RE: comparing strings

2001-06-22 Thread Wagner-David
You are using numeric comparsion when you want string(change to lt (less than), le (less than and equal), etc. so 'a'< 'b' should be 'a' lt 'b' Wags ;) -Original Message- From: Nick Transier [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 12:31 To: [EMAIL PROTECTED] Sub

RE: comparing strings

2001-06-22 Thread Kipp, James
I think : "a" cmp "b" ; # -1 ab > -Original Message- > From: Nick Transier [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 22, 2001 3:31 PM > To: [EMAIL PROTECTED] > Subject: comparing strings > > > Does anyone know a way to make boolean comparisons between strings? > For example, I wan

Re: comparing strings

2001-06-22 Thread Paul
--- Nick Transier <[EMAIL PROTECTED]> wrote: > Does anyone know a way to make boolean comparisons between strings? > For example, I want 'a' < 'b' to be true, but perl says 'a' == 'b' is > true. Use the string comparators. =o) 'a' lt 'b' 'a' == 'b' is true because they're both zero. 'a' eq 'b'

I found it!

2001-06-22 Thread Paul Burkett
Ok, this is paul again. This has have to be THE best day ever! The script works fine now...all I had to do was remove the line breaks because it was overloading the webcam! And Pronto (a damn good email client that feels like Outlook and is based on Perl) WORKS! Thanks again.now to interpretin

comparing strings

2001-06-22 Thread Nick Transier
Does anyone know a way to make boolean comparisons between strings? For example, I want 'a' < 'b' to be true, but perl says 'a' == 'b' is true. Thanks, -Nick _ Get your FREE download of MSN Explorer at http://explorer.msn.com

RE: Head and Tail

2001-06-22 Thread royce . wells
can we have that in writing account number 4567 7890 1234 5678 ok so thats not a real credit card but zero mine out just for the laughs? "Kipp, James

RE: Head and Tail

2001-06-22 Thread Kipp, James
>> > MBNA, eh? (japhy checks the credit card bills he > receives...) ;) I guess > it'd be in my best interest (no pun intended) to help you, then. LOL !!! Actually I am a independent contractor, so I don't really work here :-) > > Uri Guttman wrote File::ReadBackwards, available on CPAN, >

Windows Shortcuts

2001-06-22 Thread Tim Keefer
hello all, Has any one had any luck creating shortcuts for windows NT using Win32::Shortcut module. I have tried the examples in the O'Reilly documentation many times and I still can't create a shortcut. Any help would be appreciated. Thanks, Tim

Re: Head and Tail

2001-06-22 Thread Jeff 'japhy' Pinyan
On Jun 22, Kipp, James said: >Anyone have any good routines they use to mimic the head and tail the UNIX >head and tail utils ? I am writing a script for Win32 that I need to head >and tail a large data text file. Any help is appreciated. MBNA, eh? (japhy checks the credit card bills he receive

Head and Tail

2001-06-22 Thread Kipp, James
Hello Anyone have any good routines they use to mimic the head and tail the UNIX head and tail utils ? I am writing a script for Win32 that I need to head and tail a large data text file. Any help is appreciated. Thanks. Jim

Re: Well...it kinda sorta works

2001-06-22 Thread Paul Burkett
Well it works as much as my other perl script worksonly some of the timeoddly it works fine in tip? --- Craig Moynes/Markham/IBM <[EMAIL PROTECTED]> wrote: > I noticed from the sample execution (from the cmd > line that you showed) it > seemed that maybe the commands should be passed with

RE: :Telnet

2001-06-22 Thread Tom Yarrish
Check your prompt regex. I had a similar problem, I ended up changing my prompt value to /.*$ $/ and it worked. Tom -- #!/usr/bin/perl -w # 526-byte qrpff, Keith Winstein and Marc Horowitz <[EMAIL PROTECTED]> # MPEG 2 PS VOB file on stdin -> descrambled output on stdout # arguments: title key

Re: Well...it kinda sorta works

2001-06-22 Thread Craig Moynes/Markham/IBM
I noticed from the sample execution (from the cmd line that you showed) it seemed that maybe the commands should be passed with a carriage return after each parameter. so instead of: > > echo "@" >>/dev/term/a [enter] > echo "2" >>/dev/term/a [enter] > echo "2" >>/dev/term/a [enter] > do somet

Re: Remote control

2001-06-22 Thread Lou Losee
Raju, This is not a Perl solution, however, you might want to take a look at VNC, available free from ATT Research in the UK. The home page is at: http://www.uk.research.att.com/vnc hth Lou VeeraRaju_Mareddi wrote: > > Dear Perl Gurus/Admins, > > I have a small project in which I need to tak

Re: Well...it kinda sorta works

2001-06-22 Thread Paul
--- "Brett W. McCoy" <[EMAIL PROTECTED]> wrote: > On Fri, 22 Jun 2001, Paul Burkett wrote: > > > I got a little over enthusiatic (however you spell it) > > it seems that it will work, but only for a few > > entriesshould I put the autoflush after every > > statement? or just at the end? I'm

Re: Well...it kinda sorta works

2001-06-22 Thread Brett W. McCoy
On Fri, 22 Jun 2001, Paul Burkett wrote: > I got a little over enthusiatic (however you spell it) > it seems that it will work, but only for a few > entriesshould I put the autoflush after every > statement? or just at the end? I'm guessing this does > not do so much with Perl but with the ca

RE: PerlScript ASP

2001-06-22 Thread Brett W. McCoy
On Fri, 22 Jun 2001 [EMAIL PROTECTED] wrote: > Well ... PWS on Win98. Six o' one though, huh? I guess it supports ASP. *shrug* I don't think it supports the ISAPI interface, though, which is to IIS what mod_perl it to Apache. I could very well be wrong on this. -- Brett

Well...it kinda sorta works

2001-06-22 Thread Paul Burkett
I got a little over enthusiatic (however you spell it) it seems that it will work, but only for a few entriesshould I put the autoflush after every statement? or just at the end? I'm guessing this does not do so much with Perl but with the camera hardware itself. = - Paul Burkett ___

RE: PerlScript ASP

2001-06-22 Thread kotto
Well ... PWS on Win98. Six o' one though, huh? Apreciate the start. --Kirk -Original Message- From: Brett W. McCoy [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 12:30 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: PerlScript ASP On Fri, 22 Jun 2001 [EMAIL PROTEC

Re: PerlScript ASP

2001-06-22 Thread Brett W. McCoy
On Fri, 22 Jun 2001 [EMAIL PROTECTED] wrote: > Can anyone tell me a good reference for using PerlScript in > ASP? I've written a decent number of cgi's, so I just need > to learn how to make them into ASP pages. To get you started: http://aspn.activestate.com/ASPN/Reference/Products/ActivePerl

Re: Mailing a file as an attachment

2001-06-22 Thread Chas Owens
On 21 Jun 2001 11:17:46 -0400, Tony Pinto wrote: > I have a report generated automatically from a DBMS which in turn gets emailed > to a bunch of guys in the office. The resulting output file is pipe through > the standard Mail command which does the job. This report is when received by > the user

PerlScript ASP

2001-06-22 Thread kotto
Can anyone tell me a good reference for using PerlScript in ASP? I've written a decent number of cgi's, so I just need to learn how to make them into ASP pages. ___ don't believe everything you read, especially if it was written by a marketing department

Re: DBI Module

2001-06-22 Thread Richard J. Barbalace
Diego Riano writes: > I am trying to use de perl DBI module to use a MySQL database. I want to kno > where can I find a tutotial or maybe a HowTo (I do not know?) about perl DBI > module? In addition to the links already suggested, I recommend getting the O'Reilly book "Programming the Perl DBI"

RE: :Telnet

2001-06-22 Thread Prabhu, Vrunda P (UMC-Student)
I tried running an example from the document specified below by John and get the error: timed-out waiting for password prompt at ./newtry.cgi line 7 My code from the document is below: #!/usr/bin/perl use Net::Telnet; $telnet = new Net::Telnet (Timeout=>10, Errmo

RE: 2 regex questions

2001-06-22 Thread Chas Owens
Oops, misread the question and your code. I tought he was looking for all lines the did not contain "joe" or "fred". Sleep dep sucks. On 22 Jun 2001 08:55:52 -0700, Wagner-David wrote: > Is this not saying Add if neither joe and fred are in the line while > what is desired is Joe yes, Fr

Re: httpd fails to start after installing new perl version

2001-06-22 Thread Michael D . Risser
On Friday 22 June 2001 09:11 am, you wrote: > "Michael D. Risser" schrieb: > > It appears that the RPM for Apache is not picking up your Perl install. I > > personally always install Apache from source, as this avoids problems > > like this. > > > > Since you're running RH7.1, I would suggest usin

Re: DBI Module 2

2001-06-22 Thread Peter Scott
At 05:45 PM 6/22/01 +0200, Diego Riaño wrote: >In fact, I read the page you told me, I know, now, how to connect and >disconnet to my mysql database, and howto give it SQL statements ( >inset, create). > >But I could not find the way to send or retrive the result of the >describe table statement.

You Guys ROCK!

2001-06-22 Thread Paul Burkett
MWAHAHA! It works, it really works! My (actually yours) script works! I'd like thank Brett McCoy, Michael Fowler, Craig Moynes, and the rest of you here at this list. You guys are certainly something! I mean if you can deal with a complete idiot like me, then you have something special. I just wan

Re: 2 regex questions

2001-06-22 Thread Michael Fowler
On Fri, Jun 22, 2001 at 04:26:43PM +0200, Aaron Craig wrote: > $results{$test}++ if($_ =~ /joe/ && $_ !~ /fred/); Or, more succinctly: $results{$test}++ if /joe/ && !/fred/; Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com

Re: httpd fails to start after installing new perl version

2001-06-22 Thread Tina Messmann
"Michael D. Risser" schrieb: > > > It appears that the RPM for Apache is not picking up your Perl install. I > personally always install Apache from source, as this avoids problems like > this. > > Since you're running RH7.1, I would suggest using the ApacheToolbox to > install Apache and Perl,

RE: Please remove

2001-06-22 Thread Ask Bjoern Hansen
On Fri, 22 Jun 2001, Paul Burkett wrote: Hi Paul, :-) Of course things doesn't always work as they're supposed to, but in this case I'm about 100% sure. I've been running this setup for years and I've yet to find an actual bug in the software (!) (qmail and ezmlm-idx). - ask > Well this i

RE: Please remove

2001-06-22 Thread Paul Burkett
Well this is from my personal experiences with this mailing list. I've also learned that what things are SUPPOSED to do, don't always do precisley that (i.e. practically all the scripts I have written) Sorry, it was just a suggestion, one of those 'check to see if your computer is plugged in befor

RE: Perl IDE Reviews

2001-06-22 Thread Stephen Neu
Don't know if you want to add this or not, but on the Komodo version I used, if you had any mathematical division ($two = 4/2), it would decide that you were beginning a regular expression. I don't think it affected the compiling or syntax checking, but the text coloring went awry from th

Re: Perl IDE Reviews

2001-06-22 Thread Brett W. McCoy
On Fri, 22 Jun 2001, iansmith wrote: > Anyone have a site that has reviews of Perl IDEs? Maybe we should > make a list and put it in a FAQ if one does not exist. I will add emacs & Xemacs: Supports color syntax highlighting Online help (perldoc & man) Supports multiple indent styles Inline deb

RE: 2 regex questions

2001-06-22 Thread Wagner-David
Is this not saying Add if neither joe and fred are in the line while what is desired is Joe yes, Fred No ? Wags ;) -Original Message- From: Chas Owens [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 08:50 To: [EMAIL PROTECTED] Subject: Re: 2 regex questions On 22 Jun 200

Re: HELP ME-new to perl

2001-06-22 Thread Paul
--- sridevi arjunan <[EMAIL PROTECTED]> wrote: > Hi all, > Could anyone briefly explain the difference > between the shell script and the scripting language > like perl? lol -- Well, my gut response is to say "not really", but Brett did a pretty good job. =o) The main thing to keep in min

Re: 2 regex questions

2001-06-22 Thread Chas Owens
On 22 Jun 2001 16:26:43 +0200, Aaron Craig wrote: > At 09:49 22.06.2001 -0400, Yacketta, Ronald wrote: > >Folks, > > > >Is this syntax correct for finding multiple words in a line? > > $results{$test}++ if /$test/ && /Factory/ && /failed/; > > Looks good. > > >also, what would the syntax

Re: httpd fails to start after installing new perl version

2001-06-22 Thread Michael D . Risser
On Wednesday 20 June 2001 06:46 am, you wrote: > hello all, > > i get the following error message when trying to start the httpd: > > Starting httpd: [Wed Jun 20 15:03:12 2001] [error] Can't locate > Apache.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux > /usr/lib/perl5/5.6.0 /usr/lib/

Perl IDE Reviews

2001-06-22 Thread iansmith
Anyone have a site that has reviews of Perl IDEs? Maybe we should make a list and put it in a FAQ if one does not exist. I have used... Perl Builder 2.0 - http://www.solutionsoft.com/pbeval.htm - Does not handle

DBI Module 2

2001-06-22 Thread Diego Riaño
Hello Everybody Thaks a lot for the help. In fact, I read the page you told me, I know, now, how to connect and disconnet to my mysql database, and howto give it SQL statements ( inset, create). But I could not find the way to send or retrive the result of the describe table statement. Could s

Re: How to start

2001-06-22 Thread Randal L. Schwartz
> "MPM" == MPM <[EMAIL PROTECTED]> writes: MPM> Randal's had a few programs. Not sure if they are exactly what you need MPM> but its gotta be reasonably close. MPM> Specifically collumns seven and fourteen. MPM> http://web.stonehenge.com/merlyn/WebTechniques/ That's the eternally-rewritten

Re: :Telnet

2001-06-22 Thread Gary Stainburn
Hi, why are you telnetting to port 80? That's the http port. To use telnet, use port 23, which I think is the default anyway. Gary On Friday 22 June 2001 4:07 pm, Prabhu, Vrunda P (UMC-Student) wrote: > I too have questions on the same topic - Net::Telnet. I tried the > following code: (I h

Re: determining largest in a set of variables

2001-06-22 Thread Jeff 'japhy' Pinyan
On Jun 22, Aaron Lawson said: > I have a perl problem that seems like it should have a simple and >easy solution but that I can't figure out. I am trying to determine which >of a set of scalars has the highest numeric value and then to get the NAME >of the scalar (not the value) to us

RE: :Telnet

2001-06-22 Thread John Edwards
This might be of use to you http://www.perlfect.com/articles/telnet.shtml -Original Message- From: Prabhu, Vrunda P (UMC-Student) [mailto:[EMAIL PROTECTED]] Sent: 22 June 2001 16:07 To: '[EMAIL PROTECTED] ' Subject: RE: :Telnet I too have questions on the same topic - Net::Telnet. I

RE: stop

2001-06-22 Thread John Edwards
RTFM http://learn.perl.org -Original Message- From: Jonathan Macpherson [mailto:[EMAIL PROTECTED]] Sent: 22 May 1997 02:33 To: [EMAIL PROTECTED] Subject: stop unsubscribe --Confidentiality--. This E-mail is confidential. It should not

RE: :Telnet

2001-06-22 Thread Prabhu, Vrunda P (UMC-Student)
I too have questions on the same topic - Net::Telnet. I tried the following code: (I have deleted the hostname, username and passwd), and get the error: read timed-out at ./teltry.cgi line 13 #!/usr/bin/perl my ($hostname, $line, $passwd, $pop, $username); $hostname="..."; $username="...

  1   2   >