[13919] in Perl-Users-Digest
No subject found in mail header
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Nov 10 17:47:59 1999
Date: Mon, 8 Nov 1999 13:03:17 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <942094996-v9-i1315@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Mon, 8 Nov 1999 Volume: 9 Number: 1315
Today's topics:
Re: Q: Instructions for embedding Perl in Borland Delph <jon@midnightbeach.com>
Re: Q: Instructions for embedding Perl in Borland Delph <a2651866@smail.uni-koeln.de>
Re: Q: Instructions for embedding Perl in Borland Delph <jon@midnightbeach.com>
Re: Re: Idea for computer program...Free cellular LOOK <bill_weiss@att.net>
Re: Re: Idea for computer program...Free cellular LOOK dolphinride@my-deja.com
Reading .jpg H/W size from within Perl -- Help? <gsb@USWest.net>
Re: Reading .jpg H/W size from within Perl -- Help? <jtolley@bellatlantic.net>
Re: Reading .jpg H/W size from within Perl -- Help? (Abigail)
Re: Reading .jpg H/W size from within Perl -- Help? <emschwar@rmi.net>
redirection <vgupta86NOvgSPAM@hotmail.com.invalid>
Re: redirection <vincent.murphy@cybertrust.gte.com>
Re: redirection <jeff@vpservices.com>
RE: redirection <who@mx3.redestb.es>
Re: redirection <cassell@mail.cor.epa.gov>
regex help <kevin.porter@fast.no>
Re: regex help <vincent.murphy@cybertrust.gte.com>
Re: regex help <kevin.porter@fast.no>
Re: regex help (Abigail)
Re: regex help raju_k@iname.com
Re: regex help <cassell@mail.cor.epa.gov>
Re: regex help (Martien Verbruggen)
regex's are greedy.... <sumengen@hotelspectra.com>
Re: regex's are greedy.... <gellyfish@gellyfish.com>
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 05 Nov 1999 15:47:57 -0800
From: Jon Shemitz <jon@midnightbeach.com>
Subject: Re: Q: Instructions for embedding Perl in Borland Delphi
Message-Id: <38236CAD.780B4BA2@midnightbeach.com>
Bill Bell wrote:
> Has anyone seen detailed information about doing this?
>
> As a newbie to Perl, I'm wondering if PerlEZ might be of particular use in
> this context.
Has anyone had any luck with using PerlEz from Delphi? DejaNews only
showed this message and an older one, and neither had any replies.
I just tried to write a bindings unit, and got lots of stack corruption.
Maybe the PerlEz.h file is out of synch with PerlEz.dll (I installed
build 520, then ran the upgraders for 512 and 522), but while
PerlEzCreate() seemed to work just fine, PerlEzDelete() seemed to be
popping twelve bytes on exit - I had to preface it with asm code to do
three push 0's to keep the app from crashing. PerlEzEvalString() seemed
similarly ... awkward.
--
http://www.midnightbeach.com - Me, my work, my writing, and
http://www.midnightbeach.com/hs - my homeschool resource pages
------------------------------
Date: 06 Nov 1999 12:18:54 +0100
From: Lash Canino <a2651866@smail.uni-koeln.de>
Subject: Re: Q: Instructions for embedding Perl in Borland Delphi
Message-Id: <qr9i3x3z5.fsf@fairy.fairground>
Jon Shemitz <jon@midnightbeach.com> writes:
> Bill Bell wrote:
>
> > Has anyone seen detailed information about doing this?
> > As a newbie to Perl, I'm wondering if PerlEZ might be of
> > particular use in this context.
>
> Has anyone had any luck with using PerlEz from Delphi? DejaNews only
> showed this message and an older one, and neither had any replies.
I haven't tried PerlEz but both PerlCtrl and PerlCOM from
ActiveState Tool Corporation instead, with some success.
Note that I'm taking COM integration for embedding. Here is
what I wrote to their sales director, when asking how much they
charged for redistributing PerlCOM:
"We actually want to use standalone PerlCtrl's in Delphi 5,
but we cannot import them from there; when registering them as
ActiveX controls, Delphi does not notice them; when generating a
Delphi automation controller for them by importing their COM type
libraries Delphi complains about an access violation and does
not generate anything. (This last option works for PerlCOM.dll,
at least partially, which is why I'm asking.)"
More precisely, I have (successfully) evaluated a perl
statement from a semi-automatically generated trivial Delphi
5 application, after which perl failed to shut down, however,
as far as I can tell. This was my first Delphi program ever.
I'm still looking into this, though not on a machine code level.
ActiveState is also planning to support local (i.e.,
out-of-process, local-machine) COM components, such that you
can have perl run in a process separate from your application
and still have perl communicate with the application via COM.
They seem to be flexible about licensing, and there is no need
to license ActiveX controls generated by their (perl module)
PerlCtrl. If only Delphi could import them!
I'm not affiliated with ActiveState Tool Corporation in any way.
------------------------------
Date: Sun, 07 Nov 1999 19:28:51 -0800
From: Jon Shemitz <jon@midnightbeach.com>
Subject: Re: Q: Instructions for embedding Perl in Borland Delphi
Message-Id: <38264373.9DD6B53F@midnightbeach.com>
I wrote:
> Has anyone had any luck with using PerlEz from Delphi? DejaNews only
> showed this message and an older one, and neither had any replies.
>
> I just tried to write a bindings unit, and got lots of stack corruption.
This turned out to be (sigh!) just another case of Premature
Optimization. I ran TDump on PerlEz, and got what looked like the DLL
entry point's ordinal indices. When I linked to the DLL by index,
everything was wrong; when I just linked by name, everything was fine.
Sigh.
But, now I have more questions, this time for anyone with PerlEz
experience:
1) I can't seem to capture StdOut. I create a temp file, open it with
CreateFile(), and pass the handle to SetStdHandle(), but the file has 0
length after passing 'print "hello, stdout\n";' to PerlEzEvalString().
(PerlEzEvalString() puts results into lpBuffer as expected, so I'm not
*totally* off.)
2) Globbing doesn't seem to work. 'foreach (<*.html>) BLOCK' never
executes BLOCK.
--
http://www.midnightbeach.com - Me, my work, my writing, and
http://www.midnightbeach.com/hs - my homeschool resource pages
------------------------------
Date: Sat, 06 Nov 1999 21:54:28 -0700
From: "Bill \"Houdini\" Weiss" <bill_weiss@att.net>
Subject: Re: Re: Idea for computer program...Free cellular LOOK
Message-Id: <rAMlOE8wayBky7xIogyyZeZV3Zce@4ax.com>
On 6 Nov 1999 18:05:10 -0000, Jonathan Stowe <gellyfish@gellyfish.com>
wrote in alt.2600 :
>In comp.lang.perl.misc dolphinride@usa.net wrote:
>> Okay, several cellular providers offer what they call "first inbound
>> minute free".
>>
>
>Do they now ? How very nice of them.
yup.
>> I am thinking of a computer program that would allow someone to
>> initiate a phone call to their home phone, connected to a computer
>> running this software. The software would recognize from caller I.D.
>> data that it is your cell phone calling. You terminate the call without
>> the computer answering.
>>
>
>Uh huh.
>
>> The computer then calls your cell phone back (free first inbound
>> minute) and asks you to input the phone number you want to call. The
>> computer then utilizes your 3-way calling feature and places a call to
>> whatever number you specify. During your 3-way conversation with this
>> person the computer automatically terminates the call to your cell
>> phone, and immediately calls your cell phone back EVERY MINUTE.
>>
that starts off as a standard call back system. But, every minute, it
disconnects and calls back? Fuck, that will kill your bandwidth.
Either you have NO security, or at least half the already meager
bandwidth.
>> Any feedback appreciated.
>>
>> If anyone is interested, you write it, I will market the program,
>> split it 50-50.
you *could* pull it together from pre-existing programs, easy.
>Tell you what why dont *you* write the program and keep all the proceeds
>yourself - it seems only reasonable after you having spent all this time
>coming up with this superb product definition. I'm sure that if you have
>any trouble with the Perl parts (or Java or Cobol) people in the appropriate
>group would only be too happy to help.
Erm... a question. You do realize that 3-way calling costs, right?
--
Bill "Houdini" Weiss
PGP key: http://home.att.net/~bill_weiss/bill_weiss.asc
ICQ#: 43270740
--
"To know recursion, you must first know recursion."
------------------------------
Date: Mon, 08 Nov 1999 05:03:59 GMT
From: dolphinride@my-deja.com
Subject: Re: Re: Idea for computer program...Free cellular LOOK
Message-Id: <805lju$9g9$1@nnrp1.deja.com>
In article <rAMlOE8wayBky7xIogyyZeZV3Zce@4ax.com>,
bill_weiss@att.net wrote:
> On 6 Nov 1999 18:05:10 -0000, Jonathan Stowe <gellyfish@gellyfish.com>
> wrote in alt.2600 :
>
> >In comp.lang.perl.misc dolphinride@usa.net wrote:
> >> Okay, several cellular providers offer what they call "first
inbound
> >> minute free".
> >>
> >
> >Do they now ? How very nice of them.
>
> yup.
>
> >> I am thinking of a computer program that would allow someone to
> >> initiate a phone call to their home phone, connected to a computer
> >> running this software. The software would recognize from caller
I.D.
> >> data that it is your cell phone calling. You terminate the call
without
> >> the computer answering.
> >>
> >
> >Uh huh.
> >
> >> The computer then calls your cell phone back (free first inbound
> >> minute) and asks you to input the phone number you want to call.
The
> >> computer then utilizes your 3-way calling feature and places a
call to
> >> whatever number you specify. During your 3-way conversation with
this
> >> person the computer automatically terminates the call to your cell
> >> phone, and immediately calls your cell phone back EVERY MINUTE.
> >>
>
> that starts off as a standard call back system. But, every minute, it
> disconnects and calls back? Fuck, that will kill your bandwidth.
> Either you have NO security, or at least half the already meager
> bandwidth.
>
> >> Any feedback appreciated.
> >>
> >> If anyone is interested, you write it, I will market the
program,
> >> split it 50-50.
>
> you *could* pull it together from pre-existing programs, easy.
>
> >Tell you what why dont *you* write the program and keep all the
proceeds
> >yourself - it seems only reasonable after you having spent all this
time
> >coming up with this superb product definition. I'm sure that if you
have
> >any trouble with the Perl parts (or Java or Cobol) people in the
appropriate
> >group would only be too happy to help.
>
> Erm... a question. You do realize that 3-way calling costs, right?
>
> --
> Bill "Houdini" Weiss
> PGP key: http://home.att.net/~bill_weiss/bill_weiss.asc
> ICQ#: 43270740
>
> --
> "To know recursion, you must first know recursion."
>
>
3-way only costs about $5.00 here....
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Sun, 7 Nov 1999 08:47:17 -0800
From: "Greg Baker" <gsb@USWest.net>
Subject: Reading .jpg H/W size from within Perl -- Help?
Message-Id: <K0iV3.4172$c96.198922@news.uswest.net>
I am using Perl to generate dynamic HTML pages. I want to resize a picture
to fit a maximum frame without changing the aspect ratio. For this I need to
read the picture's height and width parameters before I generate the next
page.
Is there a 1) function or 2) a program to do this?
Thanks ...greg
------------------------------
Date: Sun, 07 Nov 1999 17:33:59 GMT
From: James Tolley <jtolley@bellatlantic.net>
Subject: Re: Reading .jpg H/W size from within Perl -- Help?
Message-Id: <3825B799.4FE8EDD9@bellatlantic.net>
Greg Baker wrote:
> I am using Perl to generate dynamic HTML pages. I want to resize a picture
> to fit a maximum frame without changing the aspect ratio. For this I need to
> read the picture's height and width parameters before I generate the next
> page.
> Is there a 1) function or 2) a program to do this?
Image::Size, available on CPAN - www.cpan.org.
Hope this helps,
James
------------------------------
Date: 7 Nov 1999 21:58:43 -0600
From: abigail@delanet.com (Abigail)
Subject: Re: Reading .jpg H/W size from within Perl -- Help?
Message-Id: <slrn82ciqg.lh6.abigail@alexandra.delanet.com>
Greg Baker (gsb@USWest.net) wrote on MMCCLIX September MCMXCIII in
<URL:news:K0iV3.4172$c96.198922@news.uswest.net>:
// I am using Perl to generate dynamic HTML pages. I want to resize a picture
// to fit a maximum frame without changing the aspect ratio. For this I need to
// read the picture's height and width parameters before I generate the next
// page.
// Is there a 1) function or 2) a program to do this?
use constant PIPE => " | ";
my $max_x = 320;
my $max_y = 240;
my $file1 = "/tmp/big.jpg";
my $file2 = "/tmp/small.jpg";
my $qual = 80;
system join PIPE, "djpeg -pnm $file1",
"pnmscale -xysize $max_x $max_y",
"cjpeg -quality $qual -outfile $file2";
Abigail
--
perl -MNet::Dict -we '(Net::Dict -> new (server => "dict.org")
-> define ("foldoc", "perl")) [0] -> print'
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: 08 Nov 1999 11:17:15 -0700
From: Eric The Read <emschwar@rmi.net>
Subject: Re: Reading .jpg H/W size from within Perl -- Help?
Message-Id: <xkfbt94g85w.fsf@valdemar.col.hp.com>
abigail@delanet.com (Abigail) writes:
> Greg Baker (gsb@USWest.net) wrote on MMCCLIX September MCMXCIII in
> <URL:news:K0iV3.4172$c96.198922@news.uswest.net>:
> // I am using Perl to generate dynamic HTML pages. I want to resize a picture
> // to fit a maximum frame without changing the aspect ratio. For this I need to
> // read the picture's height and width parameters before I generate the next
> // page.
> // Is there a 1) function or 2) a program to do this?
>
>
> use constant PIPE => " | ";
>
> my $max_x = 320;
> my $max_y = 240;
> my $file1 = "/tmp/big.jpg";
> my $file2 = "/tmp/small.jpg";
> my $qual = 80;
>
> system join PIPE, "djpeg -pnm $file1",
> "pnmscale -xysize $max_x $max_y",
> "cjpeg -quality $qual -outfile $file2";
Too much work!
system "cp $file1 $file2; mogrify -geometry $max_x $max_y $file2";
You can even leave out the 'cp' if you don't mind overwriting the
original file.
-=Eric
--
"Cutting the space budget really restores my faith in humanity. It
eliminates dreams, goals, and ideals and lets us get straight to the
business of hate, debauchery, and self-annihilation."
-- Johnny Hart
------------------------------
Date: Fri, 05 Nov 1999 10:46:37 -0800
From: heat_seeker <vgupta86NOvgSPAM@hotmail.com.invalid>
Subject: redirection
Message-Id: <11f733ec.3109fab2@usw-ex0107-050.remarq.com>
my friends has told me to use a script on his web site. He has told me
what parameters to use. The problem is that the content that comes up
as a result of that display under his site. How can I redirect the
content so that it appears under my site?
Thanks
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
------------------------------
Date: Fri, 05 Nov 1999 19:03:28 GMT
From: Vincent Murphy <vincent.murphy@cybertrust.gte.com>
Subject: Re: redirection
Message-Id: <xjgr9i4wykf.fsf@gamora.ndhm.gtegsc.com>
>>>>> "heat" == heat seeker <vgupta86NOvgSPAM@hotmail.com.invalid> writes:
heat> my friends has told me to use a script on his web site. He has told me
heat> what parameters to use. The problem is that the content that comes up
heat> as a result of that display under his site. How can I redirect the
heat> content so that it appears under my site?
Ask your friends.
heat> Thanks
------------------------------
Date: 5 Nov 1999 20:29:21 GMT
From: Jeff Zucker <jeff@vpservices.com>
Subject: Re: redirection
Message-Id: <38233DE3.9E8A4D6C@vpservices.com>
heat_seeker wrote:
>
> my friends has told me to use a script on his web site. He has told me
> what parameters to use. The problem is that the content that comes up
> as a result of that display under his site. How can I redirect the
> content so that it appears under my site?
Sounds like you need LWP, the libnet modules available on CPAN. With
LWP, you can send parameters to your friend's script; collect the output
of the script in a variable; modify the variable if you need, for
example to change url locations; then print the page to the user on your
site.
--
Jeff
------------------------------
Date: Fri, 5 Nov 1999 23:37:49 +0100
From: "WhoIs" <who@mx3.redestb.es>
Subject: RE: redirection
Message-Id: <7vvm3e$g3h2@SGI3651ef0.iddeo.es>
I think you must use the LWP modules. See the recipe 20.2 of the Perl
Cookbook (Christiansen & Torkington), one of the best books available about
perl.
Josep Ruano Bou.
------------------------------
Date: Fri, 05 Nov 1999 14:57:39 -0800
From: David Cassell <cassell@mail.cor.epa.gov>
Subject: Re: redirection
Message-Id: <382360E3.1C51FCCF@mail.cor.epa.gov>
heat_seeker wrote:
>
> my friends has told me to use a script on his web site. He has told me
> what parameters to use. The problem is that the content that comes up
> as a result of that display under his site. How can I redirect the
> content so that it appears under my site?
Since this is really a CGI issue [it could be done in just about
any language, not just Perl], you may find that you will get
better answers in the comp.infosystems.www.authoring.cgi
newsgroup. And they're more polite than we are, too. :-)
Good luck,
David
--
David Cassell, OAO cassell@mail.cor.epa.gov
Senior computing specialist
mathematical statistician
------------------------------
Date: Fri, 05 Nov 1999 16:17:34 +0000
From: kev <kevin.porter@fast.no>
Subject: regex help
Message-Id: <3823031E.3FA54324@fast.no>
Hi,
Please have a look at this regex (I'm a novice at these) and let me know
why it doesn't match the string below:
Regex:
/wp-srv\/WPlate\/\d+-\d+\/\d+\/\d+-\d+-\w+\.html/
URL to match:
wp-srv/WPlate/1999-10/27/180l-102799-idx.html
thanks,
kev
------------------------------
Date: Fri, 05 Nov 1999 16:34:07 GMT
From: Vincent Murphy <vincent.murphy@cybertrust.gte.com>
Subject: Re: regex help
Message-Id: <xjgd7togao0.fsf@gamora.ndhm.gtegsc.com>
>>>>> "kev" == kev <kevin.porter@fast.no> writes:
kev> Hi,
kev> Please have a look at this regex (I'm a novice at these) and let me know
kev> why it doesn't match the string below:
kev> Regex:
kev> /wp-srv\/WPlate\/\d+-\d+\/\d+\/\d+-\d+-\w+\.html/
kev> URL to match:
kev> wp-srv/WPlate/1999-10/27/180l-102799-idx.html
-------------------------------------^
is not a digit. HTH
--Vinny
------------------------------
Date: Fri, 05 Nov 1999 16:51:57 +0000
From: kev <kevin.porter@fast.no>
Subject: Re: regex help
Message-Id: <38230B2D.42C66B9B@fast.no>
well spotted, that man! Must get my eyes seen to...
thanks,
- Kev
Vincent Murphy wrote:
> >>>>> "kev" == kev <kevin.porter@fast.no> writes:
>
> kev> Hi,
> kev> Please have a look at this regex (I'm a novice at these) and let me know
> kev> why it doesn't match the string below:
>
> kev> Regex:
> kev> /wp-srv\/WPlate\/\d+-\d+\/\d+\/\d+-\d+-\w+\.html/
>
> kev> URL to match:
> kev> wp-srv/WPlate/1999-10/27/180l-102799-idx.html
> -------------------------------------^
> is not a digit. HTH
>
> --Vinny
------------------------------
Date: 5 Nov 1999 11:46:46 -0600
From: abigail@delanet.com (Abigail)
Subject: Re: regex help
Message-Id: <slrn82666v.dk.abigail@alexandra.delanet.com>
kev (kevin.porter@fast.no) wrote on MMCCLVII September MCMXCIII in
<URL:news:3823031E.3FA54324@fast.no>:
** Hi,
**
** Please have a look at this regex (I'm a novice at these) and let me know
** why it doesn't match the string below:
**
** Regex:
** /wp-srv\/WPlate\/\d+-\d+\/\d+\/\d+-\d+-\w+\.html/
**
** URL to match:
** wp-srv/WPlate/1999-10/27/180l-102799-idx.html
^
That's the letter l.
Abigail
--
split // => '"';
${"@_"} = "/"; split // => eval join "+" => 1 .. 7;
*{"@_"} = sub {foreach (sort keys %_) {print "$_ $_{$_} "}};
%{"@_"} = %_ = (Just => another => Perl => Hacker); &{%{%_}};
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: Fri, 05 Nov 1999 19:57:52 GMT
From: raju_k@iname.com
Subject: Re: regex help
Message-Id: <7vvcrp$5s3$1@nnrp1.deja.com>
180l-102799 ...
^ that an l (el) not a 1 (one) and you are trying to match it with
a \d+
In article <3823031E.3FA54324@fast.no>,
kev <kevin.porter@fast.no> wrote:
> Hi,
>
> Please have a look at this regex (I'm a novice at these) and let me
know
> why it doesn't match the string below:
>
> Regex:
> /wp-srv\/WPlate\/\d+-\d+\/\d+\/\d+-\d+-\w+\.html/
>
> URL to match:
> wp-srv/WPlate/1999-10/27/180l-102799-idx.html
>
> thanks,
>
> kev
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Fri, 05 Nov 1999 15:07:09 -0800
From: David Cassell <cassell@mail.cor.epa.gov>
To: raju_k@iname.com
Subject: Re: regex help
Message-Id: <3823631D.AB532949@mail.cor.epa.gov>
[courtesy email to poster]
raju_k@iname.com wrote:
>
> 180l-102799 ...
> ^ that an l (el) not a 1 (one) and you are trying to match it with
> a \d+
>
> In article <3823031E.3FA54324@fast.no>,
> kev <kevin.porter@fast.no> wrote:
[snip]
Raju, thanks for posting to help someone in this newsgroup.
and thank you *very* much for giving a correct answer too.
That doesn't always happen. One thing - could you please
in future post your response *after* the [carefully-trimmed]
text to which you are replying? It makes reading threads
and replying to threads so much easier. And it will keep
playground monitors [like me, I admit] from pestering you
about adhering to Usenet guidelines.
Thanks in advance,
David
--
David Cassell, OAO cassell@mail.cor.epa.gov
Senior computing specialist
mathematical statistician
------------------------------
Date: 6 Nov 1999 03:29:18 GMT
From: mgjv@wobbie.heliotrope.home (Martien Verbruggen)
Subject: Re: regex help
Message-Id: <slrn82786j.5vv.mgjv@wobbie.heliotrope.home>
On Fri, 05 Nov 1999 16:17:34 +0000,
kev <kevin.porter@fast.no> wrote:
> Hi,
>
> Please have a look at this regex (I'm a novice at these) and let me know
> why it doesn't match the string below:
>
> Regex:
> /wp-srv\/WPlate\/\d+-\d+\/\d+\/\d+-\d+-\w+\.html/
Apart from everybody with sharp eyes pointing out that you were trying
to match an 'l' instead of a '1', you could make this regex a lot easier
to read by choosing a different delimiter for your operator:
m#wp-srv/WPlate/\d+-\d+/\d+/\d+\w-\d+-\w+\.html#
Which gets rid of half of the leaning toothpicks. Using something like:
m{
wp-srv # identifier
/
WPlate # other thingie
/
\d+-\d+ # foo number
/
\d+ # bar number
/
\d+\w-\d+-\w+ # banana ID
\.html # extension
}x
Is even clearer. It's longer, but it makes your life a hell of a lot
easier when you have to start debugging regular expressions.
The perlre documentation has some good stuff on this.
Martien
--
Martien Verbruggen |
Interactive Media Division | "In a world without fences,
Commercial Dynamics Pty. Ltd. | who needs Gates?"
NSW, Australia |
------------------------------
Date: Sat, 6 Nov 1999 02:55:35 -0800
From: "Baris Sumengen" <sumengen@hotelspectra.com>
Subject: regex's are greedy....
Message-Id: <8011hk$6lk$1@bgtnsc02.worldnet.att.net>
Hi,
I was trying to find a solution to use regex's without being greedy for a
long time. I found the solution in the FAQ and I want to share it, because I
thing this is a very very basic problem if you are not aware of the solution
you might suffer.
http://language.perl.com/newdocs/pod/perlfaq6.html#What_does_it_mean_that_re
gexps_a
Baris Sumengen
------------------------------
Date: 6 Nov 1999 14:22:15 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: regex's are greedy....
Message-Id: <801din$ar7$1@gellyfish.btinternet.com>
On Sat, 6 Nov 1999 02:55:35 -0800 Baris Sumengen wrote:
> Hi,
> I was trying to find a solution to use regex's without being greedy for a
> long time. I found the solution in the FAQ and I want to share it, because I
> thing this is a very very basic problem if you are not aware of the solution
> you might suffer.
> http://language.perl.com/newdocs/pod/perlfaq6.html#What_does_it_mean_that_re
> gexps_a
>
Of course one might also have read the perlre manpage ...
/J\
--
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>
------------------------------
Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 16 Sep 99)
Message-Id: <null>
Administrivia:
The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc. For subscription or unsubscription requests, send
the single line:
subscribe perl-users
or:
unsubscribe perl-users
to almanac@ruby.oce.orst.edu.
| NOTE: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V9 Issue 1315
**************************************