RE: Totally lost - need a starting point

2006-08-30 Thread Charles K. Clarkson
Helen wrote: : I am starting from scratch again reading the manual more : completely. I am just running out of time on my deadline. Break down your task into small pieces and solve for those pieces. The first piece I can see is running an Expect script from a perl program. Do you know how to

RE: Need some help filtering thru results

2006-08-30 Thread Charles K. Clarkson
Mike Blezien wrote: : My regrex is not very strong and need to some help figuring : out the best way to do this. I don't use regular expressions to parse HTML. I generally use HTML::TokeParser. The documentation is pretty good and I can step through the markup the same way I read it. HTH,

New and Need Help

2006-08-30 Thread Timothy Place
Hello all, my name is Tim and I have a website that I would like to get some help with, after transferring the files from one Hosting Service to another, some of the code doubled itself and when I went to remove it it really screwed my site up, I am not a PERL Person, although I am learning to u

Re: general subroutine question

2006-08-30 Thread Derek B. Smith
--- "D. Bolliger" <[EMAIL PROTECTED]> wrote: > Derek B. Smith am Mittwoch, 30. August 2006 20:44: > > > store where? > > > > > > > or pass? > > > > > > pass to what? > > > > > > > > > Did you mean: Is there a way for a subroutine to > > > react to a call with to many > > > arguments? > > > > > > s

Re: general subroutine question

2006-08-30 Thread D. Bolliger
Derek B. Smith am Mittwoch, 30. August 2006 20:44: > > store where? > > > > > or pass? > > > > pass to what? > > > > > > Did you mean: Is there a way for a subroutine to > > react to a call with to many > > arguments? > > > > sub accept_max_5_arguments { > > die 'too many arguments!' if @_ > 5; >

Re: general subroutine question

2006-08-30 Thread Adriano Ferreira
On 8/30/06, Derek B. Smith <[EMAIL PROTECTED]> wrote: Why is it so many people on the list are sarcastic??? Many enjoy being that way. Some enjoy helping people at this list and others, but get tired sometimes and forget they can only ignore what they thought to be a not-so-clear question and

RE: general subroutine question

2006-08-30 Thread Christian, Ed
> Is there a commonly known way or method to limit the > number of arguments that a subroutine can store or > pass? > perldoc perlsub Look there for "Prototypes". -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: general subroutine question

2006-08-30 Thread Derek B. Smith
> store where? > > > or pass? > > pass to what? > > > Did you mean: Is there a way for a subroutine to > react to a call with to many > arguments? > > sub accept_max_5_arguments { > die 'too many arguments!' if @_ > 5; > } > > sub accept_max_x_arguments { # apart from the first > my $m

Re: general subroutine question

2006-08-30 Thread D. Bolliger
Derek B. Smith am Mittwoch, 30. August 2006 19:56: > All, > > Is there a commonly known way or method to limit the > number of arguments that a subroutine can > store store where? > or pass? pass to what? Did you mean: Is there a way for a subroutine to react to a call with to many argument

general subroutine question

2006-08-30 Thread Derek B. Smith
All, Is there a commonly known way or method to limit the number of arguments that a subroutine can store or pass? thank you derek __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To

Need some help filtering thru results

2006-08-30 Thread Mike Blezien
Hello, We need to grab some data from a webpage fetch via the LWP module. This is the coding and the $resultdata below, need to regrex out various data, indicated by the [ ] brackets... see below for further explainations. My regrex is not very strong and need to some help figuring out the best

Re: Totally lost - need a starting point

2006-08-30 Thread Randal L. Schwartz
> "Helen" == Helen <[EMAIL PROTECTED]> writes: Helen> Ok Helen> I am starting from scratch again reading the manual more completely. I am Helen> just running out of time on my deadline. As we say on freenode #perl, "Learn or Hire". -- Randal L. Schwartz - Stonehenge Consulting Services, In

Re: Totally lost - need a starting point

2006-08-30 Thread Helen
Ok I am starting from scratch again reading the manual more completely. I am just running out of time on my deadline. Helen - Original Message - From: "Randal L. Schwartz" To: Sent: Wednesday, August 30, 2006 11:16 AM Subject: Re: Totally lost - need a starting point > > ""Helen

Re: Perl-mysql

2006-08-30 Thread jm
On 8/30/06, Manne, Siva Chaitanya Prasad <[EMAIL PROTECTED]> wrote: Hi, I would like to connect to a database stored at linux machine from my Windows machine. But I am unable to connect to the mysql server. The error I am getting is "DBI connect('employee:xxx.xxx.xxx.xx','root

Re: Totally lost - need a starting point

2006-08-30 Thread Randal L. Schwartz
> ""Helen"" == "Helen" <[EMAIL PROTECTED]> writes: "Helen"> I fixed the missing quotation and still no joy. "Helen"> Is there another way of indicating an expect script? What kind of processing do you want from the browser when it gets an unknown mime type of "text/exp"? Your code looks lik

Perl-mysql

2006-08-30 Thread Manne, Siva Chaitanya Prasad
Hi, I would like to connect to a database stored at linux machine from my Windows machine. But I am unable to connect to the mysql server. The error I am getting is "DBI connect('employee:xxx.xxx.xxx.xx','root',...) failed: Unknown MySQL server host 'xxx.xxx.xxx.xx' (11001) at

Re: Perl-mysql

2006-08-30 Thread jm
first, sharing the error message you get when trying to connect will help isolate the actual cause of the problem. second, getting rid of all the extraneous whitespace in your code fragment will help in reading the code. as for possible causes of the error: 1. DBI->connect syntax may be incorre

Perl-mysql

2006-08-30 Thread Manne, Siva Chaitanya Prasad
Hi, I would like to connect to a database stored at linux machine from my Windows machine. But I am unable to connect to the mysql server. Please help me regarding this issue.

RE: replace multiple tokens

2006-08-30 Thread Moon, John
Thank you Robin & John for the help Jwm... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Totally lost - need a starting point

2006-08-30 Thread Helen
I fixed the missing quotation and still no joy. Is there another way of indicating an expect script? - Original Message - From: "Tom Phoenix" <[EMAIL PROTECTED]> To: "Helen" <[EMAIL PROTECTED]> Cc: "Beginners List" Sent: Tuesday, August 29, 2006 3:55 PM Subject: Re: Totally lost - need a

Re: Print to new file for each results

2006-08-30 Thread Ken Foskey
On Wed, 2006-08-30 at 00:16 -0400, Ron McKeever wrote: > I am tring to use part of someones elses code that creates a data file which > prints > out like this: > > ip|result|deptA|data > ip|result|deptB|data > ip|result|deptC|data If you can ignore efficiency (not run very often...) then you can

Re: splitting strings

2006-08-30 Thread Hien Le
On Aug 30, 2006, at 3:42 AM, Dr.Ruud wrote: Aaargh, I was suddenly mixing up split /()/ and /()/g. I really shouldn't post anymore without testing. Thank you all for the clarifications regarding split(). I should pay more attention when I read the documentation (or get more sleep). -Hien.