RE: Any wrong?

2004-06-01 Thread Marcos . Rebelo
> -Original Message- > From: Jame Brooke [mailto:[EMAIL PROTECTED] > Sent: Sunday, May 30, 2004 6:10 PM > To: [EMAIL PROTECTED] > Subject: Any wrong? > > > > Friend, anybody have idea regarding this problem. Assume I > want know where the word call "fish" locate in which line > number

Socket IO question

2004-06-01 Thread Jim
Hi I have 2 simple scripts to send short files from a win2k box to HP unix box ( for learning purposes only ). They work fine, but I am looking for ideas on why the client (win2k) needs a sleep statement after each line write. If I leave it out, I get a "Connection reset by peer" on the receiving e

Re: Request Tracker and HTML::FormatText

2004-06-01 Thread Robert Citek
On Saturday, May 29, 2004, at 11:04 US/Central, Roberto Etcheverry wrote: I tried at first with cpan and got the same result as you, don't know why. But if you go to CPAN search (seach.cpan.org) and look for HTML::FormatText in 'modules' you can find it. Try http://search.cpan.org/search?query=HT

need help

2004-06-01 Thread Sidharth
hi all , i am new to this group and perl world . i hav a problem in a script where in i hav to go to the each subdirectory within a directory and creat a temporary file and open it for edit. how can i accomplish this .. thanks in advance cioa sidharth ---

Re: need help

2004-06-01 Thread Daniel Staal
--As of Tuesday, June 1, 2004 7:55 PM +0530, Sidharth is alleged to have said: hi all , i am new to this group and perl world . i hav a problem in a script where in i hav to go to the each subdirectory within a directory and creat a temporary file and open it for edit. how can i accomplish this

Check on array return result

2004-06-01 Thread Tham, Philip
Hi, The while loop while(<@check_vip_ports>) { $token=pop(@check_vip_ports); ... } It is exiting before traversing the entire array. On running it on debug I found that a function in the perl library is returning a values which causes the exit as follows:- File::Glob::csh_glob(/usr/lib/perl5

Re: Check on array return result

2004-06-01 Thread Wiggins d Anconia
> Hi, > > The while loop > > while(<@check_vip_ports>) In the above you are passing the values in the list @check_vip_ports to the file globbing operator <>, which is not likely what you want to be doing (let us know if it is for sure what you want to do). > { > > $token=pop(@check_vip_ports)

Re: Check on array return result

2004-06-01 Thread JupiterHost.Net
Tham, Philip wrote: Hi, The while loop while(<@check_vip_ports>) { $token=pop(@check_vip_ports); ... } It is exiting before traversing the entire array. On running it on debug I found that a function in the perl library is returning a values which causes the exit as follows:- File::Glob::csh_glob(

Re: Check on array return result

2004-06-01 Thread Dennis G. Wicks
Greetings; I keep getting a warning "Use of uninitialized value in string ..." and I can't find a way to eliminate it. Here is my code and the latest effort. foreach () { chomp; s/^ *//; ($rank, $artist) = split(/ /, $_, 2); >> if ($name{$artist} eq "") {$cnt

RE: Check on array return result

2004-06-01 Thread Wiggins d Anconia
Please group reply so others can help and be helped. Please bottom post. > I am actually popping out one array element at a time But do you need to be? > > Heres the full code of the loop. This behavior does not happen in all > the cases which I am comparing. However in cases where it happens

Re: Check on array return result

2004-06-01 Thread Jeff 'japhy' Pinyan
On Jun 1, Dennis G. Wicks said: >Greetings; Please start a new thread next time, instead of replying to a post and creating a new topic. > foreach () { >chomp; >s/^ *//; >($rank, $artist) = split(/ /, $_, 2); Those two lines (the s/// and the split) could be rewritt

Loading Scalar Vars with Text - Readability

2004-06-01 Thread PerlDiscuss - Perl Newsgroups and mailing lists
Hi, Adding Perl to the list of languages... and came across a question of loading vars with very long strings... Actually I am modifiying a prior employee's code and want to make it more readable. currently the code is such: my $longlist = "Clause1|Clause2|Clause3|Clause4|...|ClauseN"; I

Re: Loading Scalar Vars with Text - Readability

2004-06-01 Thread Wiggins d Anconia
> Hi, >Adding Perl to the list of languages... and came across a question of > loading vars with very long strings... > >Actually I am modifiying a prior employee's code and want to make it > more readable. > > currently the code is such: > my $longlist = "Clause1|Clause2|Clause3|Clause4

Unitialized variable; was Re: Check on array return result

2004-06-01 Thread Dennis G. Wicks
On Tue, 1 Jun 2004, Jeff 'japhy' Pinyan wrote: > On Jun 1, Dennis G. Wicks said: > > >Greetings; > > Please start a new thread next time, instead of replying to a post and > creating a new topic. OK, so I screwed up. Mea culpa! > > > foreach () { > >chomp; > >s/^ *//; > >

Re: Loading Scalar Vars with Text - Readability

2004-06-01 Thread James Edward Gray II
On Jun 1, 2004, at 2:16 PM, PerlDiscuss - Perl Newsgroups and mailing lists wrote: Hi, Adding Perl to the list of languages... and came across a question of loading vars with very long strings... Actually I am modifiying a prior employee's code and want to make it more readable. currently

RE: Loading Scalar Vars with Text - Readability

2004-06-01 Thread Hanson, Rob
You could do create the string then strip the space. I think there was something in the Perl Cookbook that was similar to this. my $longlist = no_space(

I am looking for PERL coder from Romania, Bulgaria, Russia or India

2004-06-01 Thread Maxipoint Rep Office
I am looking for PERL coder from Romania, Bulgaria, Russia or India for long terms relationship. I have not large budget but I wish work with same coder on few bids. Coder must have STRONG PERL and mod_perl experience. I have some computer qnowledge and I wish learn during bids. Same coder who win

Re: I am looking for PERL coder from Romania, Bulgaria, Russia or India

2004-06-01 Thread James Edward Gray II
On Jun 1, 2004, at 8:07 PM, Maxipoint Rep Office wrote: I am looking for PERL coder from Romania, Bulgaria, Russia or India for long terms relationship. Then look in the right place. ;) Somewhere like: http://jobs.perl.org/ This is a mailing list where beginners can ask questions and get help w