Re: frustrating search on the NET::IRC module

2001-11-10 Thread Jim Conner
At 21:50 11.10.2001 +0100, samuel wrote: >hi there!, >i'm writing this email with a great frustration feeling. i've been all >evening looking for the NET::IRC perl module, but it was a waste. > >After searching CPAN modules list and find nothing, i tried it in a >more active way, i tried it in sea

Access the same hash in the parent and child process

2001-11-10 Thread Marcia Magna
Hi, I have a program that needs to fork. The child process creates values in a hash that must be seen by the parent process. Is there anyway to do that ? Thanks in advance Fred -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Access the same hash in the parent and child process

2001-11-10 Thread Garry Williams
On Sat, Nov 10, 2001 at 03:58:04PM -0800, Marcia Magna wrote: > I have a program that needs to fork. The child process creates > values in a hash that must be seen by the parent process. > > Is there anyway to do that ? Short answer: No. When a process fork()s, a new process is created. Tha

Re: Off-Topic (200%) - Where are you from?

2001-11-10 Thread Dave Turner
At 06:48 PM 11/10/01 +0100, you wrote: >Hi, >Smauel Molina Vidal >Industrial Engineer student @ University of Seville, Seville, Spain >(quite far from the west coast :-) San Mateo, CA --Very west coast... :-) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: simple code

2001-11-10 Thread John W. Krahn
Andrea Holstein wrote: > > Henry Hung-Yung Wang wrote: > > > > @dna=split (//, $dna); > > What's your regexp to split. > split //, $dna uses the last regexp used in the program. > Perhaps you meant split /\w/, $dna ?! Are you sure? $ perl -le'$_ = "This is a test of split."; print "Found" if /

Re: transforming an array of characters into 1 single string

2001-11-10 Thread eventualdeath
New Page 1< i'd like to know another way to do it, or another approach to reading the info from the databse file If I read you correctly, your datafile starts with : and ends with ø , therefore your data file would look like this :- :This is the first dataø :This is the second dataø :This is

Re: Off-Topic (200%) - Where are you from?

2001-11-10 Thread Chris Ball
On Sat, Nov 10, 2001 at 08:06:19PM +, Daniel Gardner wrote: > Manchester, UK Doubly small world - me too. As for my use of perl; it started off strictly fun at some point last year, and moved on as I started to write modules and make scripts publically available. Then, back in January, I wa

Re: transforming an array of characters into 1 single string

2001-11-10 Thread Curtis Poe
> #!d:\perl\bin\perl.exe -w > use CGI::Carp (fatalsToBrowser); > > # Get the input > read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); > > # Split the name-value pairs > @pairs = split(/&/, $buffer); > > foreach $pair (@pairs) { > ($name, $value) = split(/=/, $pair); > > # Un-Webify plus signs

Re: Off-Topic (200%) - Where are you from?

2001-11-10 Thread rc
I'm from brooklyn. rc -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

basic pattern matching

2001-11-10 Thread Durga_Prasad
Placed At : BOM Durga Prasad@SATYAM 11/10/2001 04:09 PM Code please... Durga Prasad I am traversing a multidimensional hash searching for a value and trying to delete it. However, I am ending up deleting the wrong one. The value I'm looking for i

Where are you from?

2001-11-10 Thread Durga_Prasad
Placed At : BOM Durga Prasad@SATYAM 11/10/2001 03:59 PM Seems the list members are primarily from North America. Myself from Bombay, India. Travelled quite a bit with in India, but it was always exciting. Work used to take quite some time ofcourse

RE: printing lines chunk

2001-11-10 Thread Rob Hite
>According to Pedro A Reche Gallardo: > Hi All, I have a long line with no blank characters and I would like to > insert a return character every 60 characters. Any idea welcome. > Regards > In the Perl Cookbook 1.12 Reformatting Paragraphs. Problem: long line that would be

Re: basic pattern matching

2001-11-10 Thread Jonathan E. Paton
Hi, The problem reduced to a level I can solve: Match "name" but not "name1" etc Solution: Use ^ and $ assertions where ^ matches start of string and where matches end of string hence use /^name$/ Hope that is clear enough :) Jonathan Paton __

Re: basic pattern matching

2001-11-10 Thread Jonathan E. Paton
Hi, > where ^ matches start of string > and where matches end of string Should be "and where $ matches end of string. Jonathan Paton __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts ht

Re: basic pattern matching

2001-11-10 Thread Brett W. McCoy
On Fri, 9 Nov 2001, HANSON wrote: > I am traversing a multidimensional hash searching for a value and > trying to delete it. However, I am ending up deleting the wrong one. > The value I'm looking for is /name/. There is also a value of /name1/ > in the hash. When I use =~/name/ it deletes the na

To Objects or Not is the Question

2001-11-10 Thread Rex Arul
Dear Friends, I was just going through Object Oriented Programming in Perl by Damian Conway in the bookstore yesterday. In the introductory pages, Damian had noted that empirically it is noticed that subroutines invoked in Objects are 20-50% sluggish than normally written Perl subroutines. Of cou

Re: Off-Topic (200%) - Where are you from?

2001-11-10 Thread Sawsan Sarandah
warm greetings from the holy city of Jerusalem -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: To Objects or Not is the Question

2001-11-10 Thread Brett W. McCoy
On Sat, 10 Nov 2001, Rex Arul wrote: > a) traditional sequential script programming, of course, with a good level > of partitioning logic with various subroutines avoiding global variables to > the least, > b) use judiciously the power of packages/modules (with exporting variables, > subroutines

Re: Off-Topic (200%) - Where are you from?

2001-11-10 Thread Brett W. McCoy
On Sat, 10 Nov 2001, Sawsan Sarandah wrote: > warm greetings from the holy city of Jerusalem Heh, cool. Like the domain. -- Brett http://www.chapelperilous.net/ There's enough mon

Re: Off-Topic (200%) - Where are you from?

2001-11-10 Thread samuel
Hi, Smauel Molina Vidal Industrial Engineer student @ University of Seville, Seville, Spain (quite far from the west coast :-) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

transforming an array of characters into 1 single string

2001-11-10 Thread samuel
Hi there!, i'm developing a basic data base tool. the "search engine" i'm trying to imlpement will read single characters from the source file (where data is stored in :dataø format). i asign every single character betwwen the start ':' marker to the end 'ø' marker. then, i try to turn the array o

Re: transforming an array of characters into 1 single string

2001-11-10 Thread Jonathan E. Paton
Hi, > I'm developing a basic data base tool. The "search > engine" I'm trying to impliement will read single > characters from the source file (where data is stored > in :dataø format). I assign every single character > between the start ':' marker to the end 'ø' marker. > Then, I try to turn t

Re: Off-Topic (200%) - Where are you from?

2001-11-10 Thread Daniel Gardner
Manchester, UK Friday, November 09, 2001, 4:07:57 PM, you wrote: JE> Leeds, UK JE> -Original Message- JE> From: Mike Gargiullo [mailto:[EMAIL PROTECTED]] JE> Sent: 09 November 2001 16:13 JE> To: [EMAIL PROTECTED] JE> Subject: RE: Off-Topic (200%) - Where are you from? JE> Princeton J

frustrating search on the NET::IRC module

2001-11-10 Thread samuel
hi there!, i'm writing this email with a great frustration feeling. i've been all evening looking for the NET::IRC perl module, but it was a waste. After searching CPAN modules list and find nothing, i tried it in a more active way, i tried it in search.cpan.org with a (fake) successful resul

RE: frustrating search on the NET::IRC module

2001-11-10 Thread Wagner-David
What system are you running on? If WIN32, then Activestate has the Net-IRC. If other, then someone else might be able to give info. Wags ;) -Original Message- From: samuel [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 10, 2001 12:50 To: [EMAIL PROTECTED] Subject: frustrati

eureka!!i'm not frustrated any more

2001-11-10 Thread samuel
Hello! Aint the world a beautiful place?! After a hell of a search, I FINALLY FIND THE NET::IRC MODULE!!! I wrote this, just so i could share my happyness with everyone of you (as well as i did with my frustration) I think taking out frustration thru the older email helped me clear my mind. PUT

RE: Off-Topic (200%) - Where are you from?

2001-11-10 Thread Alen Sarkinovic
-Original Message- From: walter [mailto:walter]On Behalf Of walter valenti Sent: Friday, November 09, 2001 8:07 AM To: Etienne Marcotte Cc: [EMAIL PROTECTED] Subject: Re: Off-Topic (200%) - Where are you from? Bosnia and Herzegovina Sarajevo Alen -- To unsubscribe, e-mail: [EMAIL PR

Re: CGI.pm Question

2001-11-10 Thread Andrea Holstein
Jess Balint wrote: > > Hello all, I was wonder if there is a way to do this with less `$query->`'s. > And yes, I know the table's not perfect. Any input would be appreciated. > Thanks. > > ~Jess > > print $query->start_form, > $query->start_table({-border=>undef}), >

Re: simple code

2001-11-10 Thread Andrea Holstein
Henry Hung-Yung Wang wrote: > I have just written some codes, but they are not doing what I wanted them > to do. Here are the codes: > > @motif= ('ACGTACGT', '', 'CCGGCCGG', 'GGCCGGCC'); > > print "Please enter sequences to be examined:\n\n"; > $dna=; chomp $dna; > > @dna=split (//, $dn

Re: Duplicates in 2D Array

2001-11-10 Thread Andrea Holstein
Rex Arul wrote: > > Andrea, > > Even if you do have commified strings, it should still work. Right? > > ### > use strict; > my(@array, @unique, %seen); > $array[0] = ["apples","oranges","plums", "Arul, Rex", "Holstein, Andrea", > "Clinton,Bill"]; > $array[1] = ["

Re: Is there a better 'PERL' way

2001-11-10 Thread Andrea Holstein
Brian Arnold wrote: > > The first part of the code - not so sure how to clean up - but you could > do something like this > > $items[ $j++ ] = $_ foreach ( @{ $T_OWNER_INFO{ $owner }} ); > ($name, $phone, $pager, $email) = @items; Isn't it nearly the same like: @items = @{ $T_OWNER_INFO{ $owne