Re: Case Statement

2003-07-26 Thread John W. Krahn
Pablo Fischer wrote: > > Hello Again! Hello, > I need to evaluate a lot of conditionals, and of course the use of a lot of > if's its not the 'right' way, so Im using something like this: > > CASE: { > ($string == "match1") && do { ^^^ > actions.. >

Re: Case Statement

2003-07-26 Thread Beau E. Cox
- Original Message - From: "Pablo Fischer" <[EMAIL PROTECTED]> To: "Perl Beginners" <[EMAIL PROTECTED]> Sent: Saturday, July 26, 2003 1:35 PM Subject: Case Statement > Hello Again! > > I need to evaluate a lot of conditionals, and of course the use of a lot of > if's its not the 'right'

Re: perl program

2003-07-26 Thread david
"Visu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > above steps to a complex script fo which i got the following error message. > > > ## > /usr/bin/perlcc: multipleanalyseV5.0.pl did not compile, which can't happen: > Starting compile > Walking tree > Prescan > Saving method

Case Statement

2003-07-26 Thread Pablo Fischer
Hello Again! I need to evaluate a lot of conditionals, and of course the use of a lot of if's its not the 'right' way, so Im using something like this: CASE: { ($string == "match1") && do { actions.. last CASE; }; ($string == "match2") && do { acti

Re: Kinda Perl

2003-07-26 Thread Robin Norwood
[EMAIL PROTECTED] writes: > I have been writing perl along with some other languages, and I have been thinking > about setting up a server (so that I can play with different server OS's and > settings without messing anything up on our home network). My parents think that it > will cost to much

Re: Save a connection inside an object?

2003-07-26 Thread Jeff 'japhy' Pinyan
On Jul 26, Pablo Fischer said: >sub new { >my $this = shift; #Tomar el objeto de donde viene >my $clase = ref($this) || $this; #Tomar el nombre de la clase >my $dDB = {}; >$dDB->{LINK} = >DBI->connect("DBI:mysql:$basedatos_nombre:$basedatos_servidor", >

Save a connection inside an object?

2003-07-26 Thread Pablo Fischer
Hi all! Im creating a class named DemoDB, the purpouse of this class its to give data. For example, I create an object: $object = new DemoDB; And I want to retrieve data (the name of the leader), so $object->get_leadername(); Ok, the questions its inside the class. I have this: sub new {

Re: How to pass CODE reference in hash?

2003-07-26 Thread LI NGOK LAM
Thousands thanks!! That exactly what I am look for ! =)) - Original Message - From: "Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]> To: "LI NGOK LAM" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, July 27, 2003 3:40 AM Subject: Re: How to pass CODE reference in hash? > > >sub tell_

Re: Notetab-like Perl editor?

2003-07-26 Thread kurt
This the best text editor I've ever used and I use it exclusively for PERL. Additionally, it has the features you are interested in http://www.ultraedit.com/ Shareware: $35 a year. Web Hosting & Development http://www.

Notetab-like Perl editor?

2003-07-26 Thread Zanardi2k3
Questions about editors have been asked many times, but i'm going to be a little more specific. I am in a Windows environment, and i love NotaTab. It is one of the few tools that makes me wonder how could i ever have carried on without it. Only it doesn't do syntax highlighting. I have searched

Re: Regex(?)

2003-07-26 Thread John W. Krahn
"John W. Krahn" wrote: > > This will work and was tested on the attached page from > http://jsearch.usajobs.opm.gov/ I see that the file didn't get attached. Here it is: USAJOBS Job Result List