script takes long time to run when comparing digits within strings using foreach

2011-05-27 Thread eventual
Hi, I have an array , @datas, and each element within @datas is a string that's made up of 6 digits with spaces in between like this “1 2 3 4 5 6”, so the array look like this @datas = ('1 2 3 4 5 6', '1 2 9 10 11 12', '1 2 3 4 5 8', '1 2 3 4 5 9' , '6 7 8 9 10 11'); Now I wish to compare each

Re: practical perl guides

2011-05-27 Thread Shlomi Fish
On Friday 27 May 2011 09:35:32 Sayth Renshaw wrote: > On Fri, May 27, 2011 at 3:35 PM, Sayth Renshaw wrote: > > On Fri, May 27, 2011 at 3:30 PM, shawn wilson wrote: > >> On May 27, 2011 1:28 AM, "shawn wilson" wrote: > >>> On May 27, 2011 12:21 AM, "Sayth Renshaw" wrote: > >>> > Hi > >>> > >

Re: practical perl guides

2011-05-27 Thread Shlomi Fish
Hi Sayth, On Friday 27 May 2011 07:20:30 Sayth Renshaw wrote: > Hi > > Wanted to ask a question about practical beginners guides for perl. I > have found a read the baisc beginners guides here > http://www.perl.com/pub/2008/05/07/beginners-introduction-to-perl-510-part- > 2.html. > > I am looking

Re: script takes long time to run when comparing digits within strings using foreach

2011-05-27 Thread Shlomi Fish
Hi eventual, On Friday 27 May 2011 11:18:01 eventual wrote: > Hi, > I have an array , @datas, and each element within @datas is a string that's > made up of 6 digits with spaces in between like this “1 2 3 4 5 6”, so the > array look like this @datas = ('1 2 3 4 5 6', '1 2 9 10 11 12', '1 2 3 4 5

displaying data from mysql onto browser in correct format .. (using template toolkit )

2011-05-27 Thread Agnello George
Hi I am using TT to display my data from my db , i insert the following data from a Front end using () into my database the data is like this in mysql : --+--+---+-+-

Re: practical perl guides

2011-05-27 Thread Leo Lapworth
Hi, On 27 May 2011 10:26, Shlomi Fish wrote: > On Friday 27 May 2011 09:35:32 Sayth Renshaw wrote: >> Which Perl Should I use ActivePerl or Strawberry Perl on Windows? 5.10 or >> 5.12? > > Definitely Strawberry Perl: it is free-as-in-beer, open-source, free-as-in- > speech, community-driven, htt

Re: practical perl guides

2011-05-27 Thread Sayth Renshaw
On Fri, May 27, 2011 at 9:12 PM, Leo Lapworth wrote: > Hi, > > On 27 May 2011 10:26, Shlomi Fish wrote: >> On Friday 27 May 2011 09:35:32 Sayth Renshaw wrote: >>> Which Perl Should I use ActivePerl or Strawberry Perl on Windows? 5.10 or >>> 5.12? >> >> Definitely Strawberry Perl: it is free-as-in

Re: perl as command line

2011-05-27 Thread Ireneusz Pluta
W dniu 2011-05-24 06:11, vishesh kumar pisze: Hi Members, I am a linux system admin. I want to use perl as a command line like sed and awk. generally, you might be interested in http://minimalperl.com/. HTH Irek -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional comm

Re: displaying data from mysql onto browser in correct format .. (using template toolkit )

2011-05-27 Thread Shlomi Fish
On Friday 27 May 2011 13:48:21 Agnello George wrote: > Hi > > I am using TT to display my data from my db , > > > i insert the following data from a Front end using () into > my database the data is like this in mysql : > > --

Re: displaying data from mysql onto browser in correct format .. (using template toolkit )

2011-05-27 Thread Agnello George
On Fri, May 27, 2011 at 6:05 PM, Shlomi Fish wrote: > On Friday 27 May 2011 13:48:21 Agnello George wrote: > > Hi > > > > I am using TT to display my data from my db , > > > > > > i insert the following data from a Front end using () > into > > my database the data is like this in mysql

Extremely fast template processor

2011-05-27 Thread Ramprasad Prasad
I have a requirement of generating large number (> 100 thousand ) files from a single template by replacing the placeholders with respective values Currently I use Template-Toolkit, but is there a faster way ? Since my template is just dumb template ( no IF , no FOR etc ) .. I just need a simple

In Spreadsheet::WriteExcel any logic to get a referance of the cell and write a value to the cell which one referanced

2011-05-27 Thread Ambuli
I am try to write a value to the Spreadsheet and the value is writes by the referance which one we got. I am using Spreadsheet write excel. If any one know the logic please suggest me. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.

Re: practical perl guides

2011-05-27 Thread Jonathan Harris
On Fri, May 27, 2011 at 1:00 PM, Sayth Renshaw wrote: > On Fri, May 27, 2011 at 9:12 PM, Leo Lapworth wrote: > > Hi, > > > > On 27 May 2011 10:26, Shlomi Fish wrote: > >> On Friday 27 May 2011 09:35:32 Sayth Renshaw wrote: > >>> Which Perl Should I use ActivePerl or Strawberry Perl on Windows?

Re: Extremely fast template processor

2011-05-27 Thread Bob goolsby
On Fri, May 27, 2011 at 5:56 AM, Ramprasad Prasad wrote: > I have a requirement of generating large number (> 100 thousand ) files > > rather suspect that the limiting factor is going to be I/O. Even with massive assistance from the Operating System, writing to a disk will take a long time

Re: practical perl guides

2011-05-27 Thread abhay vyas
Hello Which is best tool to learn the perl at home. regds, abhay On Fri, May 27, 2011 at 6:24 PM, Jonathan Harris wrote: > On Fri, May 27, 2011 at 1:00 PM, Sayth Renshaw >wrote: > > > On Fri, May 27, 2011 at 9:12 PM, Leo Lapworth wrote: > > > Hi, > > > > > > On 27 May 2011 10:26, Shlomi Fi

Re: practical perl guides

2011-05-27 Thread shawn wilson
On May 27, 2011 1:11 PM, "abhay vyas" wrote: > > Hello > Which is best tool > > to learn the perl at home. > When my perlish gets a bit fuzzy, a strong drink at a bar always helps me straighten things out :) That said, I use 'perl -e' if I'm fuzzy and the drink only made my perlish blurrier.

Re: Extremely fast template processor

2011-05-27 Thread Uri Guttman
> "RP" == Ramprasad Prasad writes: RP> I have a requirement of generating large number (> 100 thousand ) RP> files from a single template by replacing the placeholders with RP> respective values Currently I use Template-Toolkit, but is there a RP> faster way ? RP> Since my template

Re: Extremely fast template processor

2011-05-27 Thread Uri Guttman
> "Bg" == Bob goolsby writes: Bg> On Fri, May 27, 2011 at 5:56 AM, Ramprasad Prasad wrote: >> I have a requirement of generating large number (> 100 thousand ) files >> >> Bg> rather suspect that the limiting factor is going to be I/O. Bg> Even with massive assistance fr

Re: practical perl guides

2011-05-27 Thread Shawn H Corey
On 11-05-27 01:10 PM, abhay vyas wrote: Which is best tool to learn the perl at home. A computer. :D -- Just my 0.0002 million dollars worth, Shawn Confusion is the first step of understanding. Programming is as much about organization and communication as it is about coding. The s

Rsync options not recognized by system function

2011-05-27 Thread Ezra Taylor
Hello All: My rsync options are not being recognized in the system function. I tried escaping the asterisks and single quotes to no avail. Also, I do not want to install any rsync modules. Your help will be much appreciated. Thanks. my $RSYNC_OPTS=' -auvr --include='*/' --excl

Re: practical perl guides

2011-05-27 Thread abhay vyas
I wanted to know the easy tool which can be installed on your home pc or laptop and start doing practice using a book and get the conceptual clarity regds, On Fri, May 27, 2011 at 7:49 PM, Shawn H Corey wrote: > On 11-05-27 01:10 PM, abhay vyas wrote: > >> Which is best tool >> >> to learn th

Re: Rsync options not recognized by system function

2011-05-27 Thread Kenneth Wolcott
On Fri, May 27, 2011 at 12:10, Ezra Taylor wrote: > Hello All: >                My rsync options are not being recognized in the system > function.  I tried escaping the asterisks and single quotes to no avail. > Also, I do not want to install any rsync modules.  Your help will be much > appreciat

Re: Rsync options not recognized by system function

2011-05-27 Thread Uri Guttman
> "ET" == Ezra Taylor writes: ET> Hello All: ET> My rsync options are not being recognized in the system ET> function. I tried escaping the asterisks and single quotes to no avail. ET> Also, I do not want to install any rsync modules. Your help will be much ET> app

Re: practical perl guides

2011-05-27 Thread shawn wilson
On Fri, May 27, 2011 at 15:45, abhay vyas wrote: > I wanted to know > the easy tool which can be installed on your home pc or laptop and start > doing practice using a book and get the conceptual clarity > > you're really going to hijack a thread? i won't comment on the question sense this is a '

Re: practical perl guides

2011-05-27 Thread Uri Guttman
> "av" == abhay vyas writes: av> I wanted to know the easy tool which can be installed on your home av> pc or laptop and start doing practice using a book and get the av> conceptual clarity there is no such tool for any language. best to get a good book (beginning perl is free to downl

Re: Rsync options not recognized by system function

2011-05-27 Thread John W. Krahn
Uri Guttman wrote: "ET" == Ezra Taylor writes: ET> Hello All: ET> My rsync options are not being recognized in the system ET> function. I tried escaping the asterisks and single quotes to no avail. ET> Also, I do not want to install any rsync modules. Your hel