Re: code question?

2002-09-11 Thread Adam Ingerman
Hi, I'm using a perl cgi script which creates an html form, using a radio button and a submit button, and I'm trying to find a way for the cgi code to return two variables under one "onClick" command. Here's the line- As you can see, when the user clicks on

RE: code question?

2002-09-11 Thread T&C Winquist
Although this isn't REALLY a perl question, try this...I HAVEN'T tested it: onClick="selectIndexItem('$urlname/filename');filenameSelected('$filename')" OR onClick="javascript:selectIndexItem('$urlname/filename');javascript:filename Selected('$filename')" You'll have to escape the quote-like c

RE: authentication using Mail::Sender

2002-09-11 Thread T&C Winquist
The ONLY program I've ever found on win32 platform that works for sending mail through an SMTP server that requires authentication, is BLAT. All the documentation you need comes with it. Just run a web search for it. It is a command line utility that you can pass just about every parameter that

RE: pod2html: How can I pass raw html through untouched?

2002-09-11 Thread T&C Winquist
When 'printing' the html to a file or to the screen, use this format: print "Content-type: text/html\n\n"; # don't forget this header! print qq{ }; You will not need to escape any of the characters. There are very few character you will need to escape at all. One such character you may run i

RE: ANNOUNCE: Win32::Exchange

2002-09-11 Thread Norris, Joseph
Three cheers for POD - like american express - don't start a script without it. Ciao!!! -Original Message- From: Tillman, James [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 6:01 AM To: [EMAIL PROTECTED] Subject: RE: ANNOUNCE: Win32::Exchange > One of the files in the p

pod2html: How can I pass raw html through untouched?

2002-09-11 Thread Brian W Smith
Fellow Users I am trying to produce some standardised documentation, mainly of perl scripts but also of things that the perl scripts handle. This latter requires that I include some pictures in the documents. I know exactly what the relevant html should look like for this so I wanted to put it in

RE: Regualr Expression Again...

2002-09-11 Thread Stovall, Adrian M.
Please ignore my previous post and my most recent lapse in useful thought... -Original Message- From: Joseph P. Discenza [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 9:30 AM To: Barlow, Neil; 'Gould, Kevin'; [EMAIL PROTECTED] Subject: RE: Regualr Expression Again... B

RE: Regualr Expression Again...

2002-09-11 Thread Joseph Youngquist
Isn't the C Prompt usually c:\>? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joseph P. Discenza Sent: Wednesday, September 11, 2002 9:30 AM To: Barlow, Neil; 'Gould, Kevin'; [EMAIL PROTECTED] Subject: RE: Regualr Expression Again... Barlow, Neil wr

RE: Regualr Expression Again...

2002-09-11 Thread Joseph P. Discenza
Barlow, Neil wrote, on Wednesday, September 11, 2002 9:53 AM : I am looking to match \ at the end of the line - : Have tried $scandir=~/\\$/ and am still not getting a match : My input is C:\ perl -e "$r=qq(c:\\);print qq(yay\n) if ($r=~/\\$/);" prints "yay"; same if $r=qq(c:\\\n). (Someone su

RE: Regualr Expression Again...

2002-09-11 Thread Stovall, Adrian M.
Make sure you chomp() the variable you're testing. You may have a newline character at the end of the string...that would make the expression not match. A quick test would be to change the expression to: $scandir =~ /\\\n$/ -Original Message- From: Barlow, Neil [mailto:[EMAIL PROTECTED

RE: Regualr Expression Again...

2002-09-11 Thread csaba . raduly
On 11/09/2002 14:53:05 Barlow, Neil wrote: > >I am looking to match \ at the end of the line - >Have tried $scandir=~/\\$/ and am still not getting a match >My input is C:\ > Run your script with perl -Mre=debug yourscript.pl That will show you what the regular expression engine is doing (mak

Re: Problem Reading an array !!!

2002-09-11 Thread Paul \"Bo\" Peaslee
> > I have a file called "filehandle". > It contains: invoice1 >invoice2 >invoice3 >... > > > InD:\trandev\I also have these files :invoice1 > invoice2 >

RE: Regualr Expression Again...

2002-09-11 Thread Barlow, Neil
Appollogies - I am looking to match \ at the end of the line - Have tried $scandir=~/\\$/ and am still not getting a match My input is C:\ Thanks for your help with this -Original Message- From: Gould, Kevin [mailto:[EMAIL PROTECTED]] Sent: 11 September 2002 14:45 To: [EMAIL PROTECT

RE: Regualr Expression Again...

2002-09-11 Thread Gould, Kevin
It almost looks like you're working on a backslash, not a forward slash - which did you intend? I presume that's all you want to match, you are ONLY looking for the forward slash on the end of the line? $scandir=~/\/$/; or my preference, $scandir=~!/$!; -Original Message- From: Barl

RE: Regualr Expression Again...

2002-09-11 Thread Barlow, Neil
Thanks for your input for the last question. I am trying to complete a pattern match (Determining if the string ends in a forward slash) and can't get it to work at all using: $scandir =~ /\Z\\/ I have also tried $scandir =~ /$\\/ I can get it to match at the beginning of a string using \A Ca

authentication using Mail::Sender

2002-09-11 Thread Hardik Oza
Hello Team, I am using Mail::Sender module and wanted to know if anybody knows how to authenticate to the SMTP sever using this module. Please let me know if there are any examples. Thanks in advance. Hardik __ Yahoo! - We Remember 9-11: A tribute

RE: manipulating Excel

2002-09-11 Thread Charbeneau, Chuck
> From: Beckett Richard-qswi266 [mailto:[EMAIL PROTECTED]] > Subject: RE: manipulating Excel > I have two (silly) questions, already... Nothing is silly if in the pursuit of knowledge. > I have an excel file in the directory that the script is > running from, called results.xls, however I ca

RE: ANNOUNCE: Win32::Exchange

2002-09-11 Thread Tillman, James
> One of the files in the package you installed is this HTML file. > > C:\Perl\html\site\lib\Win32\Exchange.html > > I do not have any POD documentation, and chose HTML as my documenting > format. > > Sorry for any inconvenience. You can have your cake and eat it, too, if you check into pod2ht

RE: manipulating Excel

2002-09-11 Thread Beckett Richard-qswi266
> I wrote a tutorial on Perlmonks on just this topic, feel free > to give it a read: > > http://perlmonks.org/index.pl?node_id=153486 Cool, just working through it. I have two (silly) questions, already... I have an excel file in the directory that the script is running from, called results.x

RE: manipulating Excel

2002-09-11 Thread Charbeneau, Chuck
> From: Jacobson, Karl [mailto:[EMAIL PROTECTED]] > Subject: manipulating Excel > > > I would like to change formats and the like in Excel. Is > that possible > (within my Perl scripts of course) and where would I find > information on this? I wrote a tutorial on Perlmonks on just this to

Problem Reading an array !!!

2002-09-11 Thread mmlokoti
I have a file called "filehandle". It contains: invoice1 invoice2 invoice3 ... InD:\trandev\I also have these files :invoice1 invoice2 invoice3

Re: URGENT...need special system call...URGENT

2002-09-11 Thread csaba . raduly
On 10/09/2002 20:56:39 perl-win32-users-admin wrote: >I am having problems with a system call. I used perl2exe with a -gui >option, which means that no command prompt will pop up during execution and >the compiled script remains hidden. The problem is...Now that I did that, >my system call to

RE: Regualr Expression

2002-09-11 Thread csaba . raduly
On 10/09/2002 15:55:14 perl-win32-users-admin wrote: >> oops, do that and you'll confuse it. swap that for >> >> $dir=~s'\'/'g; #not interpolated with single quotes > >Huh? I've never heard of that. It doesn't work for me either. What version >of Perl are you using, and where is this documented?