[Perl-unix-users] Regex Problem

2002-03-06 Thread Geoff Ellis
Could someone let me know how I take out any non printable characters from a string, i.e. anything except a-z, 0-9, space, and I think anything upto a tilda , if it's possible in 1 regex it would be great.. thanks Geoff ___ Perl-Unix-Users mailing li

[Perl-unix-users] email question

2002-03-01 Thread Geoff Ellis
I'm using the MIME::Entity module to send emails, I have a small question, if I'm using a form on an apache server (site www.metalogicplc.com ), and the user enters his email address say [EMAIL PROTECTED] on the form, is there a way around having the hostdomain email address appear in the headers

[Perl-unix-users] $ENV{UNIQUE_ID}

2002-01-25 Thread Geoff Ellis
Can anyone tell me if this variable is actually UNIQUE? i.e, if 2 people log into an intranet site what are the chances of this variable returning the same ID twice? tia geoff ___ Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.Ac

[Perl-unix-users] silly question...

2002-01-21 Thread Geoff Ellis
could someone tell me how to pad right to left with spaces in a srintf function.. ie. how to convert "001023" into "001023" where s is a space.. tia Geoff ___ Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.ActiveState.com/mail

[Perl-unix-users] MAIL PROBLEMS

2002-01-18 Thread Geoff Ellis
well, I'm just not sure where to go now!! :o( I've got a system, where emails are being sent out with text in the body. When a user replies to this email, I'm trying to get the body of the message and then decipher the text. For 99% of the time this works fine. they way I'm doing this is using t

[Perl-unix-users] Mime Types in emails

2002-01-16 Thread Geoff Ellis
I have a small problem which maybe a little OT to the unix list... I've got a small app which runs on debian linux, which polls a mail box and foreach message that arrives I grab the subject line and the body data. These emails are usually replies from people. When I send the email out, I put in t

[Perl-unix-users] unpack() problem.

2002-01-08 Thread Geoff Ellis
Is there a way to dynaically set the variables in an unpack statement? What I want to do is read in a load of CSV's, unpack each line and insert the data in a database everything is easy except trying to do the small problem... here's my code in trying to genereate the unpack function..

[Perl-unix-users] MIME::Entity

2001-12-20 Thread Geoff Ellis
People, I've not got a great understanding of MIME types, so I have a small question.. Is it possible to have a multipart/mixed email with body data? The following 2 examples the top one does not work, the lower one does... is there a way to combine? am I missing something? many thanks Geoff

[Perl-unix-users] Problems installing XML::Parser on AIX

2001-12-04 Thread Geoff Ellis
I need some help in installing perl and some modules, namely XML::Parser on an AIX machine... Perl installed fine from smit... I then in a directory /envix/bin/expat-1.95.2 ran the Makefile.PL and make, make test and make install.. make test came back with 2 problems but didn't fail.. t/astress..

RE: [Perl-unix-users] How I send a Attachmnt file in perl

2001-04-10 Thread Geoff Ellis
sorry, I forgot to mention that the modile was actually the MIME::Entity module... and is called like... use MIME::Entity; HTH Geoff Ellis -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Geoff Ellis Sent: 10 April 2001 09:03 To: 'Ricardo Cumber

RE: [Perl-unix-users] How I send a Attachmnt file in perl

2001-04-10 Thread Geoff Ellis
"); # Part #3: eBIS-XML Logo: $top->attach(Path=> $path_to_gif_file, Type=> "image/gif", Encoding=> "base64"); # Part #4: Stylesheet: $top->attach(Path => $path_to_xsl_file",

[Perl-unix-users] Upgrade Help

2001-04-03 Thread Geoff Ellis
I was wondering if I should update my version of Perl. System Details `` OS: Linux, Debian 2.2 distribution. Perl Details ` Ver 5.004 Is there any benefit that people have come across as to why I should upgrade to 5.6? TIA Geoff Ellis