creating an excel file

2006-04-07 Thread Eko Budiharto
hi, I would like to import some data from mysql and write into an excel file. Do you mind if you can tell me which module I can use to do that? I read in the cpan.org, but I am not sure which one I should use. There are Spreadsheet::WriteExcel , Spreadsheet::SimpleExcel and others.   I am look

Re: first time using LWP

2006-04-07 Thread $Bill Luebkert
Gerald Preston wrote: > Hi! > > > > Not sure where to begin, although I have been reading every thing I can > find, but I am looking for a few good examples that use LWP to read web > pages from a Perl script that runs from WIN XP DOS command line. There's a pod in the same dir as the module

Re: first time using LWP

2006-04-07 Thread Petr Vileta
- Original Message - From: "Gerald Preston" <[EMAIL PROTECTED]> To: Sent: Friday, April 07, 2006 11:18 PM Subject: first time using LWP Hi! Not sure where to begin, although I have been reading every thing I can find, but I am looking for a few good examples that use LWP to read we

first time using LWP

2006-04-07 Thread Gerald Preston
Hi!   Not sure where to begin, although I have been reading every thing I can find, but I am looking for a few good examples that use LWP to read web pages from a Perl script that runs from WIN XP DOS command line.    Any suggestion?   Thanks,   Jerry

Re: RE: foreach question

2006-04-07 Thread
>From the Camel Book, chapter 2, section 6: "2.6.4.3 Foreach loops [...] The foreach keyword is actually a synonym for the for keyword, so you can use foreach for readability or for for brevity. If VAR is omitted, $_ is used. If LIST is an actual array (as opposed to an expression returning a li

RE: foreach question

2006-04-07 Thread Hicks, Robert
>From "Learning Perl" "It turns out that, inside the Perl grammar, the keyword "foreach" is exactly equivalent to the keyword "for". That is, any time Perl sees one of them, it's the same as if you had typed the other. Perl can tell which you meant by looking inside the parentheses. If you've got

RE: foreach question

2006-04-07 Thread Brian Raven
Conrad, Bill (ThomasTech) <> wrote: > I thought that Perl had another internal variable that contained the > numerical index of each array entry without having to count them. I > guess what I thought was happening internally was that Perl was > maintaining an index of @List and returning @Lis

RE: foreach question

2006-04-07 Thread Thurn, Martin
> In fact, "foreach" is just a short hand for those times when > you only need the contents of the list or to perform an > operation "for each item", but have no need for the index or > the list itself. Not sure what you're implying here, but the fact is: there is NO DIFFERENCE between 'for

RE: foreach question

2006-04-07 Thread Conrad, Bill (ThomasTech)
> > > my @List = qw(one two three); > > for(0 .. $#List) { > print "Indice $_ contains: $List[$_]\n"; > } Thanks Dave After seeing your reply it jogged my memory and this is exactly how I did it before. I had forgotten about the $#list Thanks to all who replied to my question.

Re: ot - cgi & perl & processes

2006-04-07 Thread DZ-Jay
On Apr 6, 2006, at 15:29, Hon Shi wrote: Yah, ot I know, but who else writes CGIs but perl guys? :-) "However, the CGI model has an important drawback: a web server that wants to use a CGI program must call a new copy in responce to every incoming web request." With respect to perl, is tha

Re: foreach question

2006-04-07 Thread DZ-Jay
On Apr 6, 2006, at 15:25, Conrad, Bill (ThomasTech) wrote: I thought that Perl had another internal variable that contained the numerical index of each array entry without having to count them. I guess what I thought was happening internally was that Perl was maintaining an index of @L

RE: Call option selected value in perl script

2006-04-07 Thread Brian Raven
usaravanan <> wrote: > Hi > > My html form is: > > http://localhost/virtual/webdav_single_file_upload.pl"; > METHOD="POST" ENCTYPE="multipart/form-data"> name="Managers_select"> Select - - > - Vijay Mr. Naveen > > File 1: TYPE="submit" NAME="Submit" VALUE="UPLOAD"> > > Task: Trying to