encode UTF8 -> MIME

2007-05-29 Thread cc96ai
I got UTF8 value %C3%A9 how could I encode it become é ? I try encode_base64 , but no luck maybe I miss some, anyone have idea ? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Outlook CSV Parser

2007-05-29 Thread Laxminarayan G Kamath A
On Wed, 30 May 2007 11:10:00 +0530, Laxminarayan G Kamath A <[EMAIL PROTECTED]> wrote: > The attached file is what I have > come up to.. but it still takes more ... Had forgotten to attach the file.. -- Cheers, Laxminarayan G Kamath A e-mail: [EMAIL PROTECTED] Work URL: http://deeproot.in #!/

Outlook CSV Parser

2007-05-29 Thread Laxminarayan G Kamath A
Hi PERLers, We here at DeepRoot Linux were trying to parse Outlook's csv so that I can add them to ldap addressbook.. After several futile tries around with lots of built in packages, we decided it was up to us to device an algorithm. As time was of importance , we wrote a "well it works!

Re: Array of Array refs

2007-05-29 Thread Brian
On May 29, 6:06 am, [EMAIL PROTECTED] (Paul Lalli) wrote: > On May 29, 4:58 am, [EMAIL PROTECTED] (Brian) wrote: > > > On May 28, 6:14 pm, [EMAIL PROTECTED] (Paul Lalli) wrote: > > > > > oh yes, more important than all that minutiae... the push did not > > > > work for me in the working code. > >

Re: Accessing hash

2007-05-29 Thread Brad Baxter
On May 28, 7:41 am, [EMAIL PROTECTED] (Jeevs) wrote: > On May 28, 11:35 am, [EMAIL PROTECTED] (Jeevs) wrote: > > > @hashi = @hash{qw (jeevan, sarika)}; > > print @hashi; > > > this gives me the values of keys jeevan and sarika.. how does this > > work ... It works because that's the syntax for a h

Re: IO::Socket::INET client hangs on no server on windoze

2007-05-29 Thread kenTk
On May 29, 2:40 pm, [EMAIL PROTECTED] (Zentara) wrote: > On 28 May 2007 08:28:35 -0700, [EMAIL PROTECTED] (kenTk) wrote: > > > > >If there is no server or no connection this hangs for about 20 seconds > >and then crashes with the following error message. > >The Timeout seems to make no difference a

Re: Error with Html code

2007-05-29 Thread Eugene Kosov
Thanks . I have a another struggling end . I need to filter the result by a specific file extension (like pdf). how can i do it ? i need to check after upload a file that it should be pdf. if it is not then i need to display an error that only pdf files need to be uploaded. regards alma "p

Re: if () VS while ()

2007-05-29 Thread jeevs
Yeah i tested it and it works manuaaly (dats the reason i used the word automatically in my previous post) Was wondering why dat dosnt work Thanks TOM for the reply -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Array of Array refs

2007-05-29 Thread Chas Owens
On 29 May 2007 13:04:42 -0700, Paul Lalli <[EMAIL PROTECTED]> wrote: On May 29, 3:21 pm, [EMAIL PROTECTED] (Dr.Ruud) wrote: > Brian schreef: > > > Changing @ to $ is confusing... > > Huh? @ means array, $ means scalar; there is nothing to change. Presumably, he meant that @array identifies the e

Re: Re: Array of Array refs @ 1180470274

2007-05-29 Thread Johan Meskens CS3 jmcs3
Intrah onat Diria .. , ** wrote "Revera y": > > > Changing @ to $ is confusing... this is different in perl6 , the following could be unreadable @ 1180470350 ::: hbeingspiel , 0::- , 1::',| , 0::| , 1::ver

Re: Array of Array refs

2007-05-29 Thread Paul Lalli
On May 29, 3:21 pm, [EMAIL PROTECTED] (Dr.Ruud) wrote: > Brian schreef: > > > Changing @ to $ is confusing... > > Huh? @ means array, $ means scalar; there is nothing to change. Presumably, he meant that @array identifies the entire array, while $array[0] identifies the first element of the array,

Re: Array of Array refs

2007-05-29 Thread Dr.Ruud
Brian schreef: > Changing @ to $ is confusing... Huh? @ means array, $ means scalar; there is nothing to change. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: if () VS while ()

2007-05-29 Thread Paul Lalli
On May 29, 9:29 am, [EMAIL PROTECTED] (Jeevs) wrote: > If () ::: if doesn't not fill the $_ variable with contents of > files first line automatically. > While () ::: while do fill the $_ to content of the files first > line automatically. > > i.e > open FH, "name.txt" or die "cant open"; > if (){

Re: Array of Array refs

2007-05-29 Thread Paul Lalli
On May 29, 11:10 am, [EMAIL PROTECTED] (Paul Lalli) wrote: > On May 29, 10:16 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > > > Brian wrote: > > I agree with you Brian. I have been posting on this list for around four > > years, and rarely have I seen 'help' that is expressed with such vitriol > > as

Re: Array of Array refs

2007-05-29 Thread Paul Lalli
On May 29, 10:16 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > Brian wrote: > I agree with you Brian. I have been posting on this list for around four > years, and rarely have I seen 'help' that is expressed with such vitriol > as Paul's has been. I'm truly sorry you feel that way, Brian. My respons

Re: Array of Array refs

2007-05-29 Thread Rob Dixon
Brian wrote: Paul Lalli wrote: Brian wrote: my variable names end with A for array and H for hash, Pointless. Variable names in Perl identify what kind of variable they are. @ for arrays, % for hashes. [ ] for accessing an element of a hash, { } for accessing element of a hash. no, I

Re: if () VS while ()

2007-05-29 Thread Tom Phoenix
On 29 May 2007 06:29:55 -0700, jeevs <[EMAIL PROTECTED]> wrote: If () ::: if doesn't not fill the $_ variable with contents of files first line automatically. It doesn't happen automatically, but you can do it manually. Do you want this? if (defined($_ = )) { ... } Hope this helps! --Tom P

if () VS while ()

2007-05-29 Thread jeevs
If () ::: if doesn't not fill the $_ variable with contents of files first line automatically. While () ::: while do fill the $_ to content of the files first line automatically. i.e open FH, "name.txt" or die "cant open"; if (){ print "$_"; } prints nothing If we change if to while $_ is set to

Re: Error with Html code

2007-05-29 Thread Eugene Kosov
Alma Tirkey wrote: I have a problem with uploading a files in apache webserver. Its not giving me an error but i am not getting the desired result what i want. My requirement is to save only the pdf files to the a directory . what i am testing is how to get only the filename . #!/usr/bin/perl

Re: Error with Html code

2007-05-29 Thread [EMAIL PROTECTED]
On May 29, 5:38 am, [EMAIL PROTECTED] (Alma) wrote: > > I am using apache2 & Gentoo linux. . i have a html upload.html > > > > > > Photo to Upload: > > Your Email Address: > > > > > > > but i am not able to view this html on my browser. > All other html pages are getting displayed. >

Re: Error with Html code

2007-05-29 Thread yitzle
If the file in the cgi-bin directory? Try removing it from there. Does the file have the execute flag turned on? Try turning it off. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Error with Html code

2007-05-29 Thread Paul Lalli
On May 29, 12:38 am, [EMAIL PROTECTED] (Alma) wrote: > Hi All, > > I am not able to trace out why i am getting this error. help regarding > this will be appreciated. > > I am using apache2 & Gentoo linux. . i have a html upload.html > > > > > > Photo to Upload: > > Your Email Address: > >

Re: Array of Array refs

2007-05-29 Thread Paul Lalli
On May 29, 4:58 am, [EMAIL PROTECTED] (Brian) wrote: > On May 28, 6:14 pm, [EMAIL PROTECTED] (Paul Lalli) wrote: > > > > > > oh yes, more important than all that minutiae... the push did not > > > work for me in the working code. > > > The push worked absolutely fine. It just didn't do what you w

Re: Array of Array refs

2007-05-29 Thread Paul Lalli
On May 29, 5:30 am, [EMAIL PROTECTED] (Brian) wrote: > On May 28, 6:04 pm, [EMAIL PROTECTED] (Paul Lalli) wrote: > > > On May 28, 3:22 pm, [EMAIL PROTECTED] (Brian) wrote: > > > > my variable names end with A for array and H for hash, > > > Pointless. Variable names in Perl identify what kind of v

Re: Error with Html code

2007-05-29 Thread Steve Bertrand
Alma wrote: > Hi All, > > > I am not able to trace out why i am getting this error. help regarding > this will be appreciated. > > I am using apache2 & Gentoo linux. . i have a html upload.html > It appears as though this HTML snippet resides in a Perl script, so it looks out of context. You

Re: accesing a hash of an array of hashes

2007-05-29 Thread Jenda Krynicky
From: pauld <[EMAIL PROTECTED]> > ive read a load of data in from a CSV file with Text::CSV and ended > up with a hash (%hash) where the keys are the column labels. > my @headings=split(/,/,$rows[0]) > and then > > for (my $j=1;$j<$#rows;$j++) > { > my $status = $csv->parse ($rows[$j]); # par

Re: Array of Array refs

2007-05-29 Thread Brian
On May 28, 6:04 pm, [EMAIL PROTECTED] (Paul Lalli) wrote: > On May 28, 3:22 pm, [EMAIL PROTECTED] (Brian) wrote: > > > my variable names end with A for array and H for hash, > > Pointless. Variable names in Perl identify what kind of variable they > are. @ for arrays, % for hashes. [ ] for acces

Error with Html code

2007-05-29 Thread Alma
Hi All, I am not able to trace out why i am getting this error. help regarding this will be appreciated. I am using apache2 & Gentoo linux. . i have a html upload.html Photo to Upload: Your Email Address: but i am not able to view this html on my browser. All other html pages are

Re: Array of Array refs

2007-05-29 Thread Brian
On May 28, 6:14 pm, [EMAIL PROTECTED] (Paul Lalli) wrote: > > > oh yes, more important than all that minutiae... the push did not > > work for me in the working code. > > The push worked absolutely fine. It just didn't do what you wanted it > to. Learning how to parse your problem should be your