Call option selected value in perl script

2006-04-06 Thread usaravanan
Hi My html form is: http://localhost/virtual/webdav_single_file_upload.pl"; METHOD="POST" ENCTYPE="multipart/form-data"> Select - - - Vijay Mr. Naveen File 1: Task: Trying to upload single file using webdav tool with if condition against OPTION SELECTED. My server perl code: web

Re: foreach question

2006-04-06 Thread Williamawalters
In a message dated 4/6/2006 6:17:47 P.M. Eastern Standard Time, [EMAIL PROTECTED] writes:   > > From: "Conrad, Bill (ThomasTech)"> > Subject: foreach question> > > > Give a foreach loop> > > > foreach $entry ( @list ) {> > > > }> > > > Is there a way to get the position index within @list $

Re: foreach question

2006-04-06 Thread Dave Crawford
Conrad, Bill (ThomasTech) wrote: Hi All Give a foreach loop foreach $entry ( @list ) { } Is there a way to get the position index within @list $entry is from without counting the iterations of the loop my @List = qw(one two three); for(0 .. $#List) { pr

Re: foreach question

2006-04-06 Thread Petr Vileta
- Original Message - From: "Conrad, Bill (ThomasTech)" <[EMAIL PROTECTED]> To: Sent: Thursday, April 06, 2006 6:38 PM Subject: foreach question Hi All Give a foreach loop foreach $entry ( @list ) { } Is there a way to get the position index within @list $entry is from without coun

RE: foreach question

2006-04-06 Thread Blakley, Brian
> From: "Conrad, Bill (ThomasTech)" > Subject: foreach question > > Give a foreach loop > > foreach $entry ( @list ) { > > } > > Is there a way to get the position index within @list $entry is from > without counting the iterations of the loop What I do when I need to know what element I'm dea

Re: foreach question

2006-04-06 Thread David Nicol
No. On 4/6/06, Conrad, Bill (ThomasTech) <[EMAIL PROTECTED]> wrote: > Hi All > > Give a foreach loop > > foreach $entry ( @list ) { > > } > > Is there a way to get the position index within @list $entry is from > without counting the iterations of the loop > > Than

RE: foreach question

2006-04-06 Thread Conrad, Bill (ThomasTech)
Hi Kyle Thanks for your reply. If I have the following my @List ( 'one' , 'two' , 'three' ) ; foreach ( @List ) { print $_ . "\n" ; } it will print one two three I thought that Perl had ano

Re: foreach question

2006-04-06 Thread
- Original Message - From: Conrad, Bill (ThomasTech) Sent: 4/6/2006 12:38:20 PM To: activeperl@listserv.ActiveState.com Subject: foreach question > Hi All > > Give a foreach loop > > foreach $entry ( @list ) { > > } > > Is there a way to get the position index

foreach question

2006-04-06 Thread Conrad, Bill (ThomasTech)
Hi All Give a foreach loop foreach $entry ( @list ) { } Is there a way to get the position index within @list $entry is from without counting the iterations of the loop Thanks Bill Conrad ___ ActivePerl mailing list