Re: Updating Perlbrew

2012-05-03 Thread sono-io
On May 3, 2012, at 1:39 PM, Paul Johnson wrote: > If you run "perlbrew" or "perlbrew help" you'll see the main commands. > The one you want is "perlbrew self-upgrade". Just run that and it'll do > the rest. Thanks a million, Paul. That did it. It took about 2 seconds to upgrade - it's

Re: Updating Perlbrew

2012-05-03 Thread Paul Johnson
On Thu, May 03, 2012 at 01:09:04PM -0700, sono...@fannullone.us wrote: > Does anyone know how to update Perlbrew to the latest version? I've > searched their site but I haven't found updating instructions (could > be my Google fu if off today =:\ ). Are you supposed to just If you run "perlbrew"

Updating Perlbrew

2012-05-03 Thread sono-io
Does anyone know how to update Perlbrew to the latest version? I've searched their site but I haven't found updating instructions (could be my Google fu if off today =:\ ). Are you supposed to just overwrite the previous version instead of updating? Thanks, Marc -- To unsubscribe, e-m

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Octavian Rasnita
From: "Mark Haney" Subject: Re: Template toolkit issue [SOLVED] One, in the original post of mine about PHP and perl interaction I was told to try the template-toolkit, mason, dancer, catalyst, etc. I looked into each one and decided on the toolkit. At no time did anyone mention that it's 'un

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Octavian Rasnita
From: "Mark Haney" Subject: Re: Template toolkit issue [SOLVED] On 05/02/2012 03:53 PM, Octavian Rasnita wrote: Perl is a programming language, not a language which is used only for web programming, so why should you think that Template Toolkit includes CGI? Nowadays CGI is very seldom used

Re: Updating my IP address in real time

2012-05-03 Thread Lawrence Statton
On 05/03/2012 01:44 PM, Terry Shepherd wrote: I like the idea of it being in our zone. Yes, I am running bind - can I hire you to help me configure the server for this? I think I can do it, but it looks like you have done this before already. Yes, I'd be glad to. Let's go off-list and set

Re: Updating my IP address in real time

2012-05-03 Thread Terry Shepherd
On Thu, May 3, 2012 at 1:35 PM, Lawrence Statton wrote: > On 05/03/2012 01:02 PM, Terry Shepherd wrote: > >> Wow. >> >> Thanks for the fast response. This is amazing. >> >> > You're welcome. I'm pretty sure on this list, the custom is not to > top-post. > > > Sorry. Getting the hang of this.

Re: Updating my IP address in real time

2012-05-03 Thread Lawrence Statton
On 05/03/2012 01:02 PM, Terry Shepherd wrote: Wow. Thanks for the fast response. This is amazing. You're welcome. I'm pretty sure on this list, the custom is not to top-post. No, I did not work for that station. I am in San francisco and was in elementary school during the 80s. "You

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Bill Stephenson
I use CGI.pm to build web apps all the time. I think the notion that CGI and CGI.pm is out dated is kind of silly in fact. Using CGI.pm with HTML::Template is still a very fast and efficient way to develop web apps. CGI::Application is another framework you can look at. It has a pretty solid

Re: Updating my IP address in real time

2012-05-03 Thread Uri Guttman
On 05/03/2012 01:25 PM, Terry Shepherd wrote: For a project at work, I need to have my development machine here at my house reachable via a name. I don't have static IP from my ISP (they offer it, but it's an expensive add-on). I have the router configured so that if you go to http://205.178.x.

Re: Updating my IP address in real time

2012-05-03 Thread Terry Shepherd
Wow. Thanks for the fast response. This is amazing. No, I did not work for that station. I am in San francisco and was in elementary school during the 80s. What does fqdn mean and what is the authoritave server? On Thu, May 3, 2012 at 12:52 PM, Lawrence Statton wrote: > On 05/03/2012 12:25 P

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Mark Haney
On 05/03/2012 10:49 AM, Lawrence Statton wrote: On 05/03/2012 07:41 AM, Mark Haney wrote: On 05/02/2012 03:53 PM, Octavian Rasnita wrote: I'm really quite intrigued by the assertion that CGI is very seldom used. Well, do you mean "CGI.pm" the perl module, which is, AFAIK rarely used any

Re: Updating my IP address in real time

2012-05-03 Thread Lawrence Statton
On 05/03/2012 12:25 PM, Terry Shepherd wrote: For a project at work, I need to have my development machine here at my house reachable via a name. I don't have static IP from my ISP (they offer it, but it's an expensive add-on). I have the router configured so that if you go to http://205.178.x.

Re: Updating my IP address in real time

2012-05-03 Thread Leopoldo Caballero
Actually you can do this with ddclient and a service like DynDNS. Maybe you can put your somehost.mydomain.com in CNAME of blabla.dyndns.org and configure ddclient to update the service for blabla.dyndns.org On Thu, May 3, 2012 at 12:25 PM, Terry Shepherd wrote: > For a project at work, I need t

Updating my IP address in real time

2012-05-03 Thread Terry Shepherd
For a project at work, I need to have my development machine here at my house reachable via a name. I don't have static IP from my ISP (they offer it, but it's an expensive add-on). I have the router configured so that if you go to http://205.178.x../mypage you get to my server, but I need to hav

Re: topic areas for perl-beginners list

2012-05-03 Thread Shawn H Corey
On 12-05-03 11:16 AM, John SJ Anderson wrote: Or you could exercise that whole "freedom to not answer questions" thing I mentioned. I didn't say the list was for "general Perl and CPAN questions". It is for people who are beginning to learn Perl, or some aspect of Perl. Generally speaking, pe

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Lawrence Statton
On 05/03/2012 10:18 AM, Lawrence Statton wrote: I'll follow up to my own response in a few minutes with a trivial program that produces content without using CGI.pm I need to configure a webserver to do CGI which I have none at hand. As promised: A minimal perl program to produce content wit

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread John SJ Anderson
On May 3, 2012, at 11:18 AM, Lawrence Statton wrote: > Then stop being so damned snarky - you are not going to get people to help > you by playing the "I'm going to insult your toolchain so you will feel > compelled to defend it and do my job for me" card. That almost always ends > with your

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Lawrence Statton
On 05/03/2012 09:19 AM, Mark Haney wrote: On 05/03/2012 09:06 AM, John SJ Anderson wrote: Okay, perhaps that was hyperbole on my part. Although, honestly, I included all the other things websites can do not just output HTML. And you can do all of those things with Perl. You just need to pi

Re: Parsing repetitive lines

2012-05-03 Thread Jim Gibson
In addition to what Shlomi has mentioned, I will add: On May 3, 2012, at 4:34 AM, venkates wrote: > sub parse { > >my $pazar_file_path = shift; >my $pazar_data; # ref to a hash holding the parsed data > >open FH, '<', $pazar_file_path or croak ( "Cannot open file > '$pazar_file_pat

Re: topic areas for perl-beginners list (was: Re: Template toolkit issue [SOLVED])

2012-05-03 Thread John SJ Anderson
On May 3, 2012, at 11:01 AM, Shawn H Corey wrote: > On 12-05-03 09:55 AM, John SJ Anderson wrote: >> One situation I really want to avoid with perl-beginners is having the >> "old hands" here send people to other lists, only to have the people >> on those other lists say "we don't have time to ho

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread John SJ Anderson
On May 3, 2012, at 10:19 AM, Mark Haney wrote: > Okay, I can understand that. Point me in the right direction for this. I > don't really want to learn about steam engines if gas combustion engines are > 'the thing'. I suppose that's been my point all along. I'll point you to some additional

Re: topic areas for perl-beginners list (was: Re: Template toolkit issue [SOLVED])

2012-05-03 Thread Shawn H Corey
On 12-05-03 09:55 AM, John SJ Anderson wrote: One situation I really want to avoid with perl-beginners is having the "old hands" here send people to other lists, only to have the people on those other lists say "we don't have time to hold your hand, maybe you should ask on perl-beginners instead"

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Lawrence Statton
On 05/03/2012 07:41 AM, Mark Haney wrote: On 05/02/2012 03:53 PM, Octavian Rasnita wrote: I'm really quite intrigued by the assertion that CGI is very seldom used. Well, do you mean "CGI.pm" the perl module, which is, AFAIK rarely used any more except in legacy applications. Gosh knows

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Mark Haney
On 05/03/2012 09:06 AM, John SJ Anderson wrote: I'm really quite intrigued by the assertion that CGI is very seldom used. There are two senses of "CGI" that are being conflated here. There's CGI-the-protocol -- i.e., dynamic web content -- which is used all the time all over the place. And

topic areas for perl-beginners list (was: Re: Template toolkit issue [SOLVED])

2012-05-03 Thread John SJ Anderson
> Sorry, but this is a beginners list. Questions about learning Perl or the > modules in perlmodlib are consider beginners questions. Questions about > other modules are not. No offense intended, but I disagree. None of the questions in this thread have been off-topic for perl-beginners. (perl-b

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Shawn H Corey
On 12-05-03 08:41 AM, Mark Haney wrote: since I'm not getting as much help as I expected in a /beginners/ list Sorry, but this is a beginners list. Questions about learning Perl or the modules in perlmodlib are consider beginners questions. Questions about other modules are not. For questio

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread John SJ Anderson
On May 3, 2012, at 8:41 AM, Mark Haney wrote: I think we're at the point where everybody in this thread needs to take a deep breath and step back from the keyboard for a bit, maybe go for a walk or something. The phrase "more heat than light" is coming to mind. (Aside for anybody else consi

Re: Parsing repetitive lines

2012-05-03 Thread Shlomi Fish
Hi Aravind, On Thu, 03 May 2012 13:34:35 +0200 venkates wrote: > Hi all, > > I am trying to parse a tab-delimited file which has repeating lines. > This is causing problems while parsing it to the data structure (see > below). I would appreciate if you could help me solve this. > If your f

Re: Template toolkit issue [SOLVED]

2012-05-03 Thread Mark Haney
On 05/02/2012 03:53 PM, Octavian Rasnita wrote: Perl is a programming language, not a language which is used only for web programming, so why should you think that Template Toolkit includes CGI? Nowadays CGI is very seldom used, so others might be thinking that it should include PSGI or anothe

Re: how to get two matches out

2012-05-03 Thread Paul Johnson
On Sun, Apr 29, 2012 at 11:10:33AM -0500, Lawrence Statton wrote: > From perlretut, I quote: > >In list context, "//g" returns a list of matched groupings, >or if there are no groupings, a list of matches to >the whole regexp. So if we wanted just the words, we could use

Parsing repetitive lines

2012-05-03 Thread venkates
Hi all, I am trying to parse a tab-delimited file which has repeating lines. This is causing problems while parsing it to the data structure (see below). I would appreciate if you could help me solve this. Thanks, Aravind sub parse { my $pazar_file_path = shift; my $pazar_data; #

Re: Recommended config/ini file module?

2012-05-03 Thread Michael Rasmussen
On 2012-05-01 06:43, Manfred Lotz wrote: On Tue, 1 May 2012 05:57:28 -0700 Michael Rasmussen wrote: On Tue, May 01, 2012 at 11:58:46AM +0200, Manfred Lotz wrote: > Hi there, > What is a recommended Module for processing config resp. inifile > formats? > > One important feature I need is to use