Re: Learning regular expressions

2003-03-18 Thread Phil Dobbin
On 18/3/03 10:21, "Mark Fowler" <[EMAIL PROTECTED]> wrote:

> On Mon, 17 Mar 2003, Phil Dobbin wrote:
> 
>> You can't go wrong with Jeffrey Friedl's `Mastering Regular Expressions'
>> (O'Reilly: 1-56592-257-3).
> 
> You'd be better off with the 2nd Edition.

[...]

Hey, I've bought thirty-two O'Reilly books as it is ;-)

Regards,

Phil.
-- 
for(reverse(1..100)){$s=($_==1)? '':'s';print"$_ bottle$s of beer on the
wall,\n";
print"$_ bottle$s of beer,\nTake one down, pass it around,\n";
$_--;$s=($_==1)?'':'s';print"$_ bottle$s of beer on the
wall\n\n";}print'*burp*';





Re: Learning regular expressions

2003-03-17 Thread Phil Dobbin
On 13/3/03 17:05, "Adam C Auden" <[EMAIL PROTECTED]> wrote:

> On Thu, 13 Mar 2003, Peter Sergeant wrote:
> 
>> This seems to be a recurring theme - regular expressions are hard. This
>> is not my experience. After QBasic, Perl was the first language I
>> learned, and regular expressions were a topic I found very easy (and
>> there were plenty of topics I found hard, I'm sure). I wonder why it is
>> some people find regexes such a mind-twister.
> 
> Not sure you can give a complete answer to this one, however I for one
> find regular expressions tricky due to the lack of decent docs available
> for them - particularly lack of examples to work from.
> 
> Now I know I should just go and buy a book, however if anyone has any
> links to sites which they have found of use it would be much appreciated.

[...]

You can't go wrong with Jeffrey Friedl's `Mastering Regular Expressions'
(O'Reilly: 1-56592-257-3).

Great read, too.

Regards,

Phil.
-- 
"Arms my only ornament - my only rest, the fight."
-- Cervantes, Don Quixote.





Re: newbie cgi/db books

2003-02-06 Thread Phil Dobbin
On 6/2/03 14:57, "Peter Pimley" <[EMAIL PROTECTED]> wrote:

> 
> Hello all,
> 
> I'm coming to the end of a project where I have been maintaining a
> spreadsheet when what I really wanted to use was a database (gah!).
> 
> When my current project is finished, I shall be writing some sort of cgi
> based frontend to the database.  It's the sort of thing you guys could
> probably do with your eyes closed, but I've never actually had to do this
> before!  I'm familiar with perl syntax, as well as unix and apache
> administration.

[...]

> Can anyone recommend any good books on this sort of thing?  I'll probably
> pick up whatever O'Reilly have, but are there any others I should be aware
> of?  Amazon links appreciated :)

You could do a lot worse than try Paul DuBois's `MySQL and Perl for the Web'
(New Riders: 0-7357-1054-6).

This, of course, assumes you'll be using MySQL ;-)

Highly recommended.

Regards,

Phil.
-- 
"Arms my only ornament - my only rest, the fight."
-- Cervantes, Don Quixote.