Re: simplest of simple web servers

2007-11-06 Thread Willy West
> http://search.cpan.org/ > > Cheers! > > --Tom Phoenix > Stonehenge Perl Training > Well of course! *laugh* funny how staring at a book for hours on end addles the brain. http://search.cpan.org/~jesse/HTTP-Server-Simple-0.27/lib/HTTP/Server/Simple.pm seems to have what I want. it will t

simplest of simple web servers

2007-11-06 Thread Willy West
just the simplest webserver one can imagine. I made a POE web server a long time ago and it was fun. I've long since lost that code. Anyway, I'd like to make a perl webserver as simply as possible so that I can play with dynamic web pages without configuring apache everywhere I go.. actually a

Re: regex: working with parts of strings several times over..

2005-06-20 Thread Willy West
> You want a look-ahead: > >$data =~ s{ > <(.+?)> # <, then one or more characters ($1), then > > (.*?)# zero or more characters ($2) > (?= <.+?> ) # look ahead for '<...>' (but don't actually match it) >}{<$1>$2}xg; aah... this is a very useful part of regula

regex: working with parts of strings several times over..

2005-06-20 Thread Willy West
here is the original: willy needs to take a nap [EMAIL PROTECTED] here is the result that I want: willy needs to take a nap [EMAIL PROTECTED] if i have the whole thing in one variable $data, then $data =~ s/<(.+?)

Re: Counting Multiple lines of data with a unique column of information

2005-03-08 Thread Willy West
forgot to reply to all for the following *laugh* -- Forwarded message -- From: Willy West <[EMAIL PROTECTED]> Date: Tue, 8 Mar 2005 19:20:24 -0500 Subject: Re: Counting Multiple lines of data with a unique column of information To: "Wilson, Josh --- Systems Ana

Re: Another regular expression matching quandry

2004-12-07 Thread Willy West
On Tue, 07 Dec 2004 11:07:54 -0700, Jeffrey Paul Burger <[EMAIL PROTECTED]> wrote: > I've read a directory into an array called @file_list and need to remove any > files that start with period from the list (".", "..", ".DS_Store", etc.). > This is what I've got so far, but it's only removing ".."

Re: How to remove new line chars

2004-10-21 Thread Willy West
On Thu, 21 Oct 2004 11:23:59 -0400 (EDT), Steve Bertrand <[EMAIL PROTECTED]> wrote: > > I am stucking with my problem of reading xml file , > > I am trying to remove the new line chars form xml file and just > > readout the xml tags. > > > > Please any guys have a look at this one. > > please gu

Re: counting gaps in sequence data

2004-10-14 Thread Willy West
On Thu, 14 Oct 2004 14:47:57 -0500, Errin Larsen <[EMAIL PROTECTED]> wrote: > > > bio-informatics is a big area in which Perl is involved... there's even > > a book from O'reilly on the subject... > If what you say is true, then maybe Mike needs to take his questions > to those list? I mean

Re: counting gaps in sequence data

2004-10-14 Thread Willy West
> PS: is this a common problem/exercise in some class somewhere? I keep > seeing requests for help having to do with those exact strings of DNA > data. Is there a bunch of people working on DNA projects using Perl > somewhere? Or, is this some homework? bio-informatics is a big area in which Pe

Re: emacs and perl

2004-10-14 Thread Willy West
On Wed, 13 Oct 2004 22:24:11 -0500, Jon Mosco <[EMAIL PROTECTED]> wrote: > I was wondering if anyone had some advice or pointers > for perl and emacs. I want to be able to run my > programs in a window similar to the way you can > with 'compile' mode with c. If anyone has some > tips or pointers,