Re: Cookbook example (fwd)

2002-09-04 Thread Felix Geerinckx
on Thu, 05 Sep 2002 10:02:03 GMT, [EMAIL PROTECTED] (Sudarshan Raghavan) wrote: > Not sure if this mail was sent properly, my apologies if you > already have recd this. It was, as you could have found out yourself by going to (or by using a new

Re: Cookbook example (fwd)

2002-09-04 Thread Sudarshan Raghavan
Not sure if this mail was sent properly, my apologies if you already have recd this. On Tue, 3 Sep 2002, ANIDIL RAJENDRAN wrote: > Newbie again. > Sorry if this question sounds so silly > > Want to open filenames like ~username/blah but open doesn't interpret the tilde to >mean the > home di

Re: Cookbook example

2002-09-04 Thread Felix Geerinckx
on Wed, 04 Sep 2002 06:23:20 GMT, [EMAIL PROTECTED] (Anidil Rajendran) wrote: > expand the filename manually with substitution > > $filename =~ s{ ^ ~ ( [^/]* ) } > { $1 >? (getpwnam($1)) [7] >: ( $ENV{HOME} || $ENV

Re: Cookbook example

2002-09-04 Thread Sudarshan Raghavan
On Tue, 3 Sep 2002, ANIDIL RAJENDRAN wrote: > Newbie again. > Sorry if this question sounds so silly > > Want to open filenames like ~username/blah but open doesn't interpret the tilde to >mean the > home directory > > Solution > > expand the filename manually with substitution > > $filenam

Cookbook example

2002-09-04 Thread ANIDIL RAJENDRAN
Newbie again. Sorry if this question sounds so silly Want to open filenames like ~username/blah but open doesn't interpret the tilde to mean the home directory Solution expand the filename manually with substitution $filename =~ s{ ^ ~ ( [^/]* ) } { $1

RE: confused over cookbook example 6-2

2001-08-10 Thread Bob Showalter
> -Original Message- > From: Cohan, Drew [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 10, 2001 8:32 AM > To: '[EMAIL PROTECTED]' > Subject: confused over cookbook example 6-2 > > > I'm trying to modify cookbook example 6-2: > >

Re: confused over cookbook example 6-2

2001-08-10 Thread Jos I. Boumans
rying to modify cookbook example 6-2: > > #killtags: very bad html tag killer > undef $/; > while(<>){ > s/<.*?>//gs; > print; > } > > to instead look for all "href=" in an html file across paragraphs/newlines > but I only get the first successful ma

confused over cookbook example 6-2

2001-08-10 Thread Cohan, Drew
I'm trying to modify cookbook example 6-2: #killtags: very bad html tag killer undef $/; while(<>){ s/<.*?>//gs; print; } to instead look for all "href=" in an html file across paragraphs/newlines but I only get the first successful match. why does