Re: cgi not writing to flat file

2001-08-28 Thread Jeffl
I'm in the middle of coding myself so I'll be brief, help you get some direction. First, I wouldn't set you're permissions to 777, BUT that all depends on what the user is that would be writing to the file. What I mean is, the web server is the one that is going to be writing to the file so, and

Re: Got it.....Source code of Perl Modules?

2001-08-28 Thread Rahul Garg
Well, I got it myself... http://www.linpro.no/lwp/libwww-perl/ - Original Message - From: Rahul Garg To: [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 10:37 AM Subject: Source code of Perl Modules? From where can I get the source code for modules of

Source code of Perl Modules?

2001-08-28 Thread Rahul Garg
>From where can I get the source code for modules of perl(exact path),specifically of >LWP and CGI.pm thanx, Rahul

Re: Perl & Win 98SE

2001-08-28 Thread Alex Barna
Thanks, I've been reading the docs & only get more confused. >From the Xitami doc; Xitami supports CGI programs in Perl, C, or any other language that your system supports. In general, CGI program written for web servers such as Apache and NCSA httpd will run unchanged with Xitami. I think the

cgi not writing to flat file

2001-08-28 Thread Danny Reyna
ive downloaded a simple perl script that im trying to run on my computer -i use the updated version of indigo perl on win98 -listed below are the html and scripts -can someone tell me where i am going wrong -someone on the list told me that i dont have my permissions set to chmod 777, however f

Http Session - cookie Problem

2001-08-28 Thread Rajeev Rumale
Greetings every body, I have am working on a web based application which requires authenticaion. I am using some especial cookies to reference the session values which are maintained sepeartely. The the cookie values are set to some expriey time. This works fine, therotical as well as practicall

Re: Using DBD::ODBC

2001-08-28 Thread Thomas A . Lowery
Graham, I tested DBD::ODBC to FileMaker Pro a few years back on NT. The solution worked poorly (from what I remember). A instance of the FileMaker application had to running to connect, but the database could not be opened in the application. The FileMak

RE: Perl & Win 98SE

2001-08-28 Thread Sid Malhotra
Although ... If you are trying to run cgi scripts on Apache/Win Apache will recognize the #! ('shebang') and try to execute your script through the specified interpreter. I don't know what Xitami does for this although I would assume it behaves the same way. Don't trust me, read the docs. So it

Re: Perl & Win 98SE

2001-08-28 Thread Lynn Glessner
The #! line is only for unix systems, you don't need it. - Original Message - From: "Alex Barna" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 28, 2001 6:10 PM Subject: Re: Perl & Win 98SE > I did that & installed Microsoft Windows Installer 1.1+ & DCOM for Windows 9

Re: Perl & Win 98SE

2001-08-28 Thread Alex Barna
I did that & installed Microsoft Windows Installer 1.1+ & DCOM for Windows 98 as recomended in the ActivePerl Documentation. I have noticed that most scripts start with #!/usr/bin/perl Should this be changed to the actual path (which I have done) #!C:\perl\bin or should it be something else. Than

Using DBD::ODBC

2001-08-28 Thread Graham Murray
I was trying to use DBD::ODBC to automatically transmit periodic data through ODBC from one server to a web server that has a FileMaker Pro database...any suggestions? Graham _ Get your FREE download of MSN Explorer at http://explo

Re: Returning values from one perl module to another

2001-08-28 Thread Peter Scott
>Ok. Now I can call a Perl program from another Perl program but I am >having trouble returning values back to the calling Perl program. Return >does not seem to work, Any suggestions?? return is only for code within the same program. To get values back from another program the easiest way

Re: Returning values from one perl module to another

2001-08-28 Thread Christopher Solomon
On Tue, 28 Aug 2001 [EMAIL PROTECTED] wrote: > Ok. Now I can call a Perl program from another Perl program but I am > having trouble returning values back to the calling Perl program. Return > does not seem to work, Any suggestions?? > Well... It totally depends one what you are doing. It

Re: Bundle for cryptography-related stuff?

2001-08-28 Thread Peter Scott
At 03:32 PM 8/28/01 -0700, [EMAIL PROTECTED] wrote: >I just wanted to get some ssh and/or ssl-related modules, since I was >toying with writing a simple encrypted data transfer client/server. >However, I can't seem to get CPAN to fetch the stuff, since each module >requires other modules, which re

Returning values from one perl module to another

2001-08-28 Thread Robert_Collins
Ok. Now I can call a Perl program from another Perl program but I am having trouble returning values back to the calling Perl program. Return does not seem to work, Any suggestions?? Robert ( Kent ) Collins: IBM Certified Solutions Expert Cell Phone: 214.632.3940 DBA Intranet Site: http:/

Perl & Win 98SE

2001-08-28 Thread Alex Barna
I am new to perl & my only programing is 15 years out of date & forgotten. I am running an Xitami Webserver on my win 98 SE computer & can't get perl scripts to function unless perl.exe & the 2 dll files are in the same folder as the script calling it. Even then it doesn't work properly. I don't

Bundle for cryptography-related stuff?

2001-08-28 Thread GoodleafJ
I just wanted to get some ssh and/or ssl-related modules, since I was toying with writing a simple encrypted data transfer client/server. However, I can't seem to get CPAN to fetch the stuff, since each module requires other modules, which require other modules and so forth and CPAN invariably fai

Oracle function- Error when attempting call. Please Help !

2001-08-28 Thread Carlin Anderson
Does anyone have an example of how to set up and call an oracle function that returns a number? Embedding within an sql statement as I normally use a query does not work, and I receive errors if I attempt to format it like an example in the dbd document: Here is a section of my code. my $c

Re: use Filter::Decrypt;

2001-08-28 Thread Scott VR
Being unfamiliar with the beginners@ list but having stumbled upon this thread on a web archive, I thought I'd reply, for what it's worth. A few years ago, I wondered this same thing and came up with the following: http://www.dfw.net/~scottvr/Filter_decrypt_crack.pl.txt It's a fairly long commen

RE: Re[2]: Help with Recursive script on Large Directory

2001-08-28 Thread Kipp, James
Thanks I got it to work both ways. I will use File::Find in practice as it performs much better. Thanks for your help. > -Original Message- > From: Maxim Berlin [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 28, 2001 5:04 PM > To: [EMAIL PROTECTED] > Subject: Re[2]: Help with Recursiv

Re[2]: Help with Recursive script on Large Directory

2001-08-28 Thread Maxim Berlin
Hello James, Tuesday, August 28, 2001, Kipp, James <[EMAIL PROTECTED]> wrote: KJ> Thanks so much for your help. Is this how the code should be before I test KJ> it again. It depends of your needs. for example, in your log file you miss full name of files. a good example or educational purpose, b

Re: Unix awk

2001-08-28 Thread Paul Johnson
On Tue, Aug 28, 2001 at 04:31:17PM -0400, Jeff 'japhy/Marillion' Pinyan wrote: > On Aug 28, [EMAIL PROTECTED] said: > > >Does any one out in Per Land have a Perl program that performs the same > >functions as Unix awk? If yes would you mind sharing it? > > Um. Perl's regular expression librar

Re[2]: Writing a log file?

2001-08-28 Thread Maxim Berlin
Hello John, Tuesday, August 28, 2001, Michael Fowler <[EMAIL PROTECTED]> wrote: MF> On Tue, Aug 28, 2001 at 02:42:58PM -0400, John Way wrote: >> Does anyone know how to get a perl script to write out each line of code to >> an output (log) file as it performs each line? (Other than a print >> st

Re: Calling one perl program from another

2001-08-28 Thread Peter Scott
At 03:19 PM 8/28/01 -0500, [EMAIL PROTECTED] wrote: >How do you execute or call a Perl(PROG1.pl) program from another >Perl(PROG2.pl) program? PROG2.pl does either: output = `PROG1.pl`; # `PROG1.pl 2>&1` most likely on Unix systems or retcode = system 'PROG1.pl'; More deta

Re: Unix awk

2001-08-28 Thread Brett W. McCoy
On Tue, 28 Aug 2001 [EMAIL PROTECTED] wrote: > Does any one out in Per Land have a Perl program that performs the same > functions as Unix awk? If yes would you mind sharing it? If you use Perl, you don't need to use awk, right? :-) There's a utility called a2p you can use to convert awk scrip

Re: Unix awk

2001-08-28 Thread Jeff 'japhy/Marillion' Pinyan
On Aug 28, [EMAIL PROTECTED] said: >Does any one out in Per Land have a Perl program that performs the same >functions as Unix awk? If yes would you mind sharing it? Um. Perl's regular expression library does that. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~jap

Unix awk

2001-08-28 Thread Robert_Collins
Does any one out in Per Land have a Perl program that performs the same functions as Unix awk? If yes would you mind sharing it? Robert ( Kent ) Collins: IBM Certified Solutions Expert Cell Phone: 214.632.3940 DBA Intranet Site: http://ora3dba.i2.com/support "Major advancements in technology

Calling one perl program from another

2001-08-28 Thread Robert_Collins
How do you execute or call a Perl(PROG1.pl) program from another Perl(PROG2.pl) program? Robert ( Kent ) Collins: IBM Certified Solutions Expert Cell Phone: 214.632.3940 DBA Intranet Site: http://ora3dba.i2.com/support "Major advancements in technology are indistinguishable from Magic"

Re: Writing a log file?

2001-08-28 Thread Michael Fowler
On Tue, Aug 28, 2001 at 02:42:58PM -0400, John Way wrote: > Does anyone know how to get a perl script to write out each line of code to > an output (log) file as it performs each line? (Other than a print > statement after everyline) I've looked in the perlrun documentation, but > could not find a

Re: Writing a log file?

2001-08-28 Thread Curtis Poe
--- "Randal L. Schwartz" <[EMAIL PROTECTED]> wrote: > > "John" == John Way <[EMAIL PROTECTED]> writes: > > John> Confidentiality Notice: *** > John> Privileged/Confidential information may be contained in this message > John> and is intended only f

Re: Writing a log file?

2001-08-28 Thread Paul Johnson
On Tue, Aug 28, 2001 at 02:42:58PM -0400, John Way wrote: > Does anyone know how to get a perl script to write out each line of code to > an output (log) file as it performs each line? (Other than a print > statement after everyline) I've looked in the perlrun documentation, but > could not find a

Re: Writing a log file?

2001-08-28 Thread Curtis Poe
--- John Way <[EMAIL PROTECTED]> wrote: > Does anyone know how to get a perl script to write out each line of code to > an output (log) file as it performs each line? (Other than a print > statement after everyline) I've looked in the perlrun documentation, but > could not find anything. I don't

Re: Writing a log file?

2001-08-28 Thread Randal L. Schwartz
> "John" == John Way <[EMAIL PROTECTED]> writes: John> Confidentiality Notice: *** John> Privileged/Confidential information may be contained in this message John> and is intended only for the use of the addressee. Please advise John> immediately

Writing a log file?

2001-08-28 Thread John Way
Does anyone know how to get a perl script to write out each line of code to an output (log) file as it performs each line? (Other than a print statement after everyline) I've looked in the perlrun documentation, but could not find anything. My objective is to get a file that can be checked in cas

Re: Help with Recursive script on Large Directory

2001-08-28 Thread Randal L. Schwartz
> "James" == James Kipp <[EMAIL PROTECTED]> writes: James> Thanks so much for your help. Is this how the code should be before I test James> it again. No, the code should be using File::Find, as was suggested earlier. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 77

RE: Help with Recursive script on Large Directory

2001-08-28 Thread Kipp, James
Hi Maxim Thanks so much for your help. Is this how the code should be before I test it again. --- use Cwd; $log = 'c:\\temp\\chk_space.txt'; $path = 'dbm\\marketing_database_II'; open(LOG, ">>$log") or die "Can't open $log: $!"; print LOG "These files are over 60 days old and over 50MB\

Re: Help with Recursive script on Large Directory

2001-08-28 Thread Maxim Berlin
Hello James, Tuesday, August 28, 2001, Kipp, James <[EMAIL PROTECTED]> wrote: KJ> I have this script that recursed through a directory on a network drive and KJ> it's subdirs flagging files based on a couple of params. KJ> Firstly, I know this will be resource intensive. Is there a better way t

Accessing an oracle database with a DBI

2001-08-28 Thread Julian M Sawkins
Is there a way that doesn't involve installing the oracle client? Can I use ODBC? If so, can anyone give me pointers as to where to find the drivers? The reason I'm avoiding the client is because I have no cdrom in the machine, and no X installed (Redhat is so big these days I had no room for it

Re: Displaying the output of a system command in HTML

2001-08-28 Thread Stephen P. Potter
Lightning flashed, thunder crashed and "Ackim Chisha" <[EMAIL PROTECTED]> whis pered: | Now I need to display the output of a system command to HTML. It can't = | seem to work I don't know why. Here is what am trying to do, | | Am running the following command, | | $command =3D 'pgp -kv' ; | |

Re: Installing Module

2001-08-28 Thread Stephen P. Potter
Lightning flashed, thunder crashed and "Rahul Garg" <[EMAIL PROTECTED]> whisp ered: | I want to install LWP modules on Linux. | At present they are not.CPAN module is there but Linux at present is not = | connected to net. | What exactly I have to do...means | | What files exactly I have to insta

Re: Re[6]: Stripping line breaks

2001-08-28 Thread Stephen P. Potter
Lightning flashed, thunder crashed and Jeff 'japhy/Marillion' Pinyan whispered: | On Aug 28, Stephen P. Potter said: | | >Lightning flashed, thunder crashed and Maxim Berlin <[EMAIL PROTECTED]> whispere > d: | >| | >| well, ${ unassigned now... | >| | > | >And must remain unassigned, otherwise

RE: Help with Recursive script on Large Directory

2001-08-28 Thread Kipp, James
Yes, I know and it works fine with that. I was hoping to understand why the recursion did not work as it is supposed to. Any IDeas? > -Original Message- > From: Jeff 'japhy/Marillion' Pinyan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 28, 2001 12:56 PM > To: Kipp, James > Cc: [EMAI

Re: Help with Recursive script on Large Directory

2001-08-28 Thread Jeff 'japhy/Marillion' Pinyan
On Aug 28, Kipp, James said: >I have this script that recursed through a directory on a network drive and >it's subdirs flagging files based on a couple of params. > >Firstly, I know this will be resource intensive. Is there a better way to do >this that is maybe not even a Perl solution? You wa

RE: System Command to call an external command.

2001-08-28 Thread Kipp, James
Have you configured a cgi-bin directory in IIS to recognize scripts with a .pl or .cgi extension ? > -Original Message- > From: Ackim Chisha [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 28, 2001 12:48 PM > To: [EMAIL PROTECTED] > Subject: System Command to call an external command.

Help with Recursive script on Large Directory

2001-08-28 Thread Kipp, James
I have this script that recursed through a directory on a network drive and it's subdirs flagging files based on a couple of params. Firstly, I know this will be resource intensive. Is there a better way to do this that is maybe not even a Perl solution? Secondly, the script is failing to recurs

System Command to call an external command.

2001-08-28 Thread Ackim Chisha
Hello people, I am trying to execute a pgp command in perl by calling the perl script through a web interface and I am getting the error: 'The name specified is not recognised as an internal or external command, operable program or batch file'. The simple script is as follows ( I am using Windo

Re: Formatting text

2001-08-28 Thread Randal L. Schwartz
> "Mike" == Mike Rapuano <[EMAIL PROTECTED]> writes: Mike> I was searching for a diff-like perl tool for NT and came Mike> accross this persons code. Worked well for me. You might look at Algorithm::Diff, and especially the magazine column I wrote on that. The advantage over the [snipped] c

Re: Re[6]: Stripping line breaks

2001-08-28 Thread Jeff 'japhy/Marillion' Pinyan
On Aug 28, Stephen P. Potter said: >Lightning flashed, thunder crashed and Maxim Berlin <[EMAIL PROTECTED]> whispered: >| >| well, ${ unassigned now... >| > >And must remain unassigned, otherwise there is no way to disambiguate: > >print "$dayday" >and >print "${day}day" But you can use ${{} a

Re: Formatting text

2001-08-28 Thread Aravindan . Sundaram
Hope you have a file which contains these lines, Just check below code : $File = "sample.txt"; open(IN,"<$File"); while() { $_ =~ s/\x0d//g; if( $_ =~ m/play/i ) { $Result = ""; while( $_ =~ /.{0,5}play.{0,5}/i ) { $Result .= $`;

Re: Re[6]: Stripping line breaks

2001-08-28 Thread Stephen P. Potter
Lightning flashed, thunder crashed and Maxim Berlin <[EMAIL PROTECTED]> whispered: | | well, ${ unassigned now... | And must remain unassigned, otherwise there is no way to disambiguate: print "$dayday" and print "${day}day" -spp -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

RE: Formatting text

2001-08-28 Thread Mike Rapuano
HI all -- I was searching for a diff-like perl tool for NT and came accross this persons code. Worked well for me. Mike -Original Message- From: Gibbs Tanton - tgibbs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 10:34 AM To: 'Najamuddin, Junaid '; '[EMAIL PROTECTED] ' Sub

RE: Formatting text

2001-08-28 Thread Najamuddin, Junaid
Sorry I forgot about the platform It is on Windows NT platform thanks -Original Message- From: Gibbs Tanton - tgibbs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 9:34 AM To: 'Najamuddin, Junaid '; '[EMAIL PROTECTED] ' Subject: RE: Formatting text If you are on a unix syst

RE: Formatting text

2001-08-28 Thread Gibbs Tanton - tgibbs
If you are on a unix system...you can just say diff file1 file2. On Windows there is probably something comparable. -Original Message- From: Najamuddin, Junaid To: [EMAIL PROTECTED] Sent: 8/28/2001 9:18 AM Subject: Formatting text Hi, Here is my script, I am comparing two txt files whi

Re: Thanks for help, more to figure

2001-08-28 Thread Sunthari
Hi, I'm trying to get the search word from a text/passage. 1. After finding the number of occurence of the word in the passage, no of matches found. 2.Read the no. string with the search word as illustrated below ("play" is word searched: .I can "play" the piano well. .The "play" was

Formatting text

2001-08-28 Thread Najamuddin, Junaid
Title: RE: Formatting text Hi, Here is my script, I am comparing two txt files which are pipe delimited line by line if they match then their is no output but if they do not match then it gives an output about the difference  My both files are loaded in the array and I am comparing line by

Re: Thanks for help, more to figure

2001-08-28 Thread Troy Denkinger
On Tuesday 28 August 2001 00:51, Sunthari wrote: > 1. What should I do , if I want to read each line of > text with the "search word". Should I put the > occurence of search word in an array ? (I'm not so > sure). Are you reading in a line at a time and looking for a particular word in the line?

Re: Socket Programming

2001-08-28 Thread Peter Scott
At 12:12 PM 8/28/01 +0530, Veeraraju_Mareddi wrote: >Dear Friends, > >I have a small task of Doing/Running some commands on A remote Machine Using >Sockets Communication. Till Now I was not familiar with sockets. Could >anybody of You Please tell me How to get basic knowledge of SOCKET >PROGRAMING