Re: [Perl-unix-users] taking strings and printing them to a file which is itself a perl file

2004-08-26 Thread $Bill Luebkert
Martin Moss wrote: > Hey Bill, thanks for your input, but no, I was simply > meaning that the string of perl I was trying to create > would have some values that were themselves dynamic. > These dynamic values quite often contained {[()[EMAIL PROTECTED]) > chars, which if I didn't escape them prop

Re: [Perl-unix-users] taking strings and printing them to a file which is itself a perl file

2004-08-26 Thread Martin Moss
> > The format of the output hash I wish to write is:- > > > > $hash= { > > 'key' => { > > 'original_value' > > =>$original_value', > > 'new_value' => > '$original_value', > > > > 'files' => [ > >

Re: [Perl-unix-users] taking strings and printing them to a file which is itself a perl file

2004-08-26 Thread $Bill Luebkert
MARTIN MOSS wrote: > All, > > Hope everyone's having a pleasant day! > > I have a really urgent problem which I just can't seem > to resolve. > > I have a data structure, which I want to write out to > a file. The file I'd like to write would actually be a > perl file which I can 'require' at a

RE: [Perl-unix-users] taking strings and printing them to a file which is itself a perl file

2004-08-26 Thread Martin Moss
Cheers James, Couldn't see the wood for the trees! It works great. Marty --- "vega, james" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: > [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > On > > Behalf Of MARTIN MOSS > > Sent: Thursday, August 26, 2004 12:11 PM >

RE: [Perl-unix-users] taking strings and printing them to a file which is itself a perl file

2004-08-26 Thread vega, james
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of MARTIN MOSS > Sent: Thursday, August 26, 2004 12:11 PM > To: [EMAIL PROTECTED] > Subject: [Perl-unix-users] taking strings and printing them > to a file which is itself a perl file > > All, > > Ho

[Perl-unix-users] taking strings and printing them to a file which is itself a perl file

2004-08-26 Thread MARTIN MOSS
All, Hope everyone's having a pleasant day! I have a really urgent problem which I just can't seem to resolve. I have a data structure, which I want to write out to a file. The file I'd like to write would actually be a perl file which I can 'require' at a later date, after it's been manually ed

Re: [Perl-unix-users] how can user change text in cgi ?

2004-08-26 Thread Michael Meltzer
"$Bill Luebkert" wrote: > Michael Meltzer wrote: > > > Thanks to all who answerd. > > > > When asking this question i did hope there is a script already. > > It's too simple for a script (at least the basic editing part). > > > My special problem in this case is how can I present the user a previ

Re: [Perl-unix-users] Server-Clients model

2004-08-26 Thread $Bill Luebkert
Eitan Schichmanter wrote: > Hi all, > > I need to establish a Server/Clients (multiple clients) model to run some tests. > > I've created the server via the IO::Socket::INET and the corresponding client. Works > great for ONE Server -> ONE Client. > > My question is: What do I need to do to en

[Perl-unix-users] Server-Clients model

2004-08-26 Thread Eitan Schichmanter
Hi all, I need to establish a Server/Clients (multiple clients) model to run some tests. I've created the server via the IO::Socket::INET and the corresponding client. Works great for ONE Server -> ONE Client. My question is: What do I need to do to enable more than one client on the server? S

Re: [Perl-unix-users] how can user change text in cgi ?

2004-08-26 Thread $Bill Luebkert
Michael Meltzer wrote: > Thanks to all who answerd. > > When asking this question i did hope there is a script already. It's too simple for a script (at least the basic editing part). > My special problem in this case is how can I present the user a previous message (if > it exists) and how c

Re: [Perl-unix-users] how can user change text in cgi ?

2004-08-26 Thread Michael Meltzer
Anthony Ettinger wrote: > Apache runs as an underprivileged user though. I'm > assuming you want one cgi script where they enter > their username and a vacation msg in a form from a web > page. > > You would have to open up their ~/.forward files to be > world writable (which would mean they could