[29742] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 986 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Oct 29 03:09:38 2007

Date: Mon, 29 Oct 2007 00:09:04 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Mon, 29 Oct 2007     Volume: 11 Number: 986

Today's topics:
    Re: configurable variables in own file? <tzz@lifelogs.com>
        HEREDOC tricks, etc. <rvtol+news@isolution.nl>
        make money online$$$$$$$  tony090704@aol.com
        new CPAN modules on Mon Oct 29 2007 (Randal Schwartz)
        problems building perl modules, path question <mmccaws@comcast.net>
    Re: problems building perl modules, path question <ben@morrow.me.uk>
    Re: problems building perl modules, path question <rkb@i.frys.com>
    Re: reading a directory, first files the newest ones <noreply@gunnar.cc>
    Re: Regular expression to match only strings NOT contai <jesse.houwing@newsgroup.nospam>
    Re: TeX pestilence <gernot@nict.go.jp>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Sun, 28 Oct 2007 19:12:58 -0500
From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: configurable variables in own file?
Message-Id: <m2abq2pylx.fsf@lifelogs.com>

On Sun, 28 Oct 2007 12:37:15 +0100 Michele Dondi <bik.mido@tiscalinet.it> wrote: 

MD> That is not what was being proposed. I think both the OP and x had in
MD> mind a situation in which users have some Perl experience a priori.

The OP never mentioned Perl experience about his users; he wanted a
module to avoid CPAN and to include some configuration data plus code.
His users were supposed to *edit* but not necessarily *know* Perl.  In
fact you were as surprised as me that he expected them to edit Perl when
they couldn't handle CPAN installs.

xhoster used himself as the measuring stick several times, but I did not
see an implication that his users would know Perl.  I think assuming the
users will know (or care to learn) Perl, if that's what xhoster and the
OP did, is a fundamental problem with an all-Perl configuration system.
If you make that assumption it's easy to justify such a system.

Ted


------------------------------

Date: Sun, 28 Oct 2007 22:13:50 +0100
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: HEREDOC tricks, etc.
Message-Id: <fg31l8.dg.1@news.isolution.nl>

# does Perl need a qs-operator?
perl -wle '
    my $s = join $", qw<
 ab
 cde
  f
ghijk
   >;

    print $s;
'
ab cde f ghijk


# bash -HEREDOC alike:
perl -wle'
    (my $s = <<EOS) =~ s/(^\s+|\s+$)//mg;
   ab
   cde
     f
 ghijk
EOS

    print $s;
'
ab
cde
f
ghijk


# qw-emulation
perl -wle'
    my @s = split " ", <<EOS;
   ab
      cde
    f
  ghijk
EOS

    print "<$_>" for @s;
'
<ab>
<cde>
<f>
<ghijk>

(the above occurences of <<EOS should better be written as <<'EOS' in
production code)

-- 
Affijn, Ruud

"Gewoon is een tijger."



------------------------------

Date: Sun, 28 Oct 2007 20:25:45 -0700
From:  tony090704@aol.com
Subject: make money online$$$$$$$
Message-Id: <1193628345.565768.252280@o80g2000hse.googlegroups.com>

$50,000 for only $5 in two months?  You gotta be crazy!  How can you
make $50,000 for only $5?  Well, that's what I was wondering too until
I came across this letter.

First of all, IT'S PERFECTLY LEGAL!  (Call 1-800-725-2161) if you have
any questions about the following opportunity to make $50,000.00 and
that probably WITHIN LESS THAN TWO MONTHS!

Well, here it goes:  A little while back, I was browsing these
newsgroups, just like you are now, and came across an article similar
to this that said you could make thousands of dollars within weeks
with
only an initial investment of $5.00! So I thought, "Yeah, right, this
must be a joke," but like most of us I was curious, so I kept reading.
Anyway, it said that you send $1.00 to each of the 5 names and
address
stated in the article. You then place your own name and address in
the
bottom of the list at #5, and post the article in at least 200
newsgroups. (There are thousands) No catch, that was it.

As I mentioned before, like most of us I was a little skeptical and a
little worried about the legal aspects of it all. So I checked it out
with the U.S. Post Office (1-800-725-2161) and they confirmed that it
is indeed legal!

What are the basics of each system and why are they legal?  Each
system
follows the same basic steps which define a business by offering
others
the ability to get involved using the system you advertise in
newsgroups
on the Internet and accepting a small fee for the requests of those
who
respond to be added to your mailing list.  Yes, you will be in the
business of creating your own mailing list.  Their requests to be
added
to your mailing list which is sent with a $1 fee for your service
define
a legal business opportunity under U.S. Postal and Lottery Laws --- a
legal business opportunity for you which is covered in title 18,
sections 1302 and 1342 of the U.S. Postal and Lottery Laws.

Now, what one does, or does not do, with the mailing list being
constructed is a personal decision.  One could decide to do nothing
with this list, to use it as a tool in building another business or
expanding an existing business.  This decision is up to the creator of
the mailing list -- this decision is up to you.

Make sure you print a copy of this article NOW, so you can get the
information off of it as you need it. The process is very simple and
consists of 3 easy steps:

STEP 1:  Get 5 separate pieces of paper and write the following on
each
piece of paper "PLEASE PUT ME ON YOUR MAILING LIST."  Now get 5  $1.00
bills and place ONE inside EACH of the 5 pieces of paper so the bill
will not be seen through the envelope to prevent thievery.  Next,
place
one paper in each of the 5 envelopes and seal them. You should now
have
5 sealed envelopes, each with a piece of paper stating the above
phrase
and a $1.00 bill.  What you are doing is creating a service by this.
THIS IS PERFECTLY LEGAL!  Mail the 5 envelopes to the following
addresses:



#1 G. Duchacek
   1825 Lee Janzen Drive,
   Kissimmee Bay,
   Kissimmee, FL. 347347

#2 T. Roberts
   4810 Meadow Lark Lane
   Paso Robles,  CA  93446-4220

#3 D. Wild
     32 Ridgeview Circle
     Milan, Oh  44846

#4 Smith
   935 E. South
   Independence, MO 64050

#5 t. rojas
   42-40 212st apt 3a
   bayside, ny 11361

STEP 2:  Now take the #1 name off the list that you see above, move
the
other names up (2 becomes 1, 3 becomes 2, etc.....) and add YOUR Name
as number 5 on the list.

STEP 3:  Change anything you need to, but try to keep this article as
close to original as possible. Now, post your amended article to at
least 200 newsgroups. (There are over 35,000 groups with more being
added all the time) All you need is 200, but remember, the more you
post, the more money you make! Don't know HOW to post in the
newsgroups?
Well do exactly the following:

FOR NETSCAPE USERS:
1) Click on any newsgroup, like normal. Then click on "To News",
which
is in the top left corner of the newsgroup page. This will bring up a
message box.

2) Fill in the SUBJECT with a flashy title, like the one I used,
something to catch the eye!!!

3) Now go to the message part of the box and retype this letter
exactly
as it is here, with exception of your few changes. (remember to add
your
name to number 5 and move the rest up)

4) When your done typing in the WHOLE letter, click on 'FILE' above
the
send button. Then, 'SAVE AS..' DO NOT SEND YOUR ARTICLE UNTIL YOU
SAVE
IT. (so you don't have to type this 200 times :-)

5) Now that you have saved the letter, go ahead and send your first
copy! (click the 'SEND' button in the top left corner)

6) This is where you post all 200! OK, go to ANY newsgroup article and
click the 'TO NEWS' button again. Type in your flashy subject in the
'SUBJECT BOX', then go to the message and place your cursor here. Now
click on 'ATTACHMENT' which is right below the 'SUBJECT BOX'. Click
on
attach file then find your letter wherever you saved it.  Click once
on
your file then click 'OPEN' then click 'OK'.  If you did this right,
you
should see your filename in the 'ATTACHMENT BOX' and it will be
shaded.
NOW POST AWAY!

FOR INTERNET EXPLORER:
It's just as easy, holding down the left mouse button, highlight this
entire article, then press the 'CTRL' key and 'C' key at the same
time
to copy this article. Then print the article for your records to have
the names of those you will be sending $1.00 to.

Go to the newsgroups and press 'POST AN ARTICLE' type in your flashy
subject and click the large window below. Press 'CTRL' and 'V' and the
article will appear in the message window. **BE SURE TO MAKE YOUR
ADDRESS CHANGES TO THE 5 NAMES.** Now re-highlight the article and
re-copy it so you have the changes.... then all you have to do for
each
newsgroup is 'CTRL' and 'V' and press 'POST'. It's that easy!!  THAT'S
IT! All you have to do is jump to different newsgroups and post away,
after you get the hang of it, it will take about 30 seconds for each
newsgroup!

**REMEMBER, THE MORE NEWSGROUPS YOU POST IN, THE MORE MONEY YOU WILL
MAKE!! BUT YOU HAVE TO POST A MINIMUM OF 200**

**If these instructions are too complex to follow, try Forte's "Free
Agent." It is freeware for noncommercial use. To download it, simply
use a search utility and type "Forte Free Agent". You should be able
to
find it.**

That's it! You will begin receiving money from around the world within
days! You may eventually want to rent a P.O. Box due to the large
amount
of mail you receive. If you wish to stay anonymous, you can invent a
name to use, as long as the postman will deliver it. **JUST MAKE SURE
ALL THE ADDRESSES ARE CORRECT.**

Now the WHY part:  This entire principle works because it is in a
format
of an upside down tree with thousands of branches. Everyone below you
will see to it that the tree continues because they want to get
money.
Those below THEM will continue because THEY want to get the cash
etc.
Out of 200 postings, say I receive only 5 replies (a very low
example).
So then I made $5.00 with my name at #5 on the letter. Now, each of
the
5 persons who just sent me $1.00 make the MINIMUM 200 postings, each
ith my name at #4 and only 5 persons respond to each of the original
5,
that is another $25.00 for me, now those 25 each make 200 MINIMUM
posts
with my name at #3 and only 5 replies each, I will bring in an
additional $125.00! Now, those 125 persons turn around and post the
MINIMUM 200 with my name at #2 and only receive 5 replies each, I will
make an additional $626.00! OK, now here is the fun part, each of
those
625 persons post a MINIMUM of 200 letters with my name at #1 and they
each only receive 5 replies, that just made me $3,125.00!!! With a
original investment of only $5.00!  AMAZING! And as I said 5 responses
is actually VERY LOW!  Average is probable 20 to 30! So lets put those
figures at just 15 responses per person.  Here is what you will make:

at #5 $15.00
at #4 $225.00
at #3 $3,375.00
at #2 $50,625.00
at #1 $759,375.00

Your name is no longer on the list, you just take the latest posting
in
the newsgroups, and send out another $5.00 to names on the list,
putting
your name at number 5 and start posting again.  The thing to remember
is
that thousands of people all over the world are joining the Internet
and
reading these articles everyday, JUST LIKE YOU are now!! And this will
go on and on and on and on.... get the picture? Well, there's over
5,000,000,000 people on the world and most of them will eventually end
up being hooked into the Internet. So  there are virtually unlimited
resources. Of course this will work the best at the very beginning so
the faster you post, the better for YOU!

So can you afford $5.00 and see if it really works?? I think so!
People
have said, "what if the plan is played out and no one sends you the
money? So what! What are the chances of that happening when there are
tons of new honest users and new honest people who are joining the
Internet and newsgroups everyday and are willing to give it a try?
Estimates are at 20,000 to 50,000 new users, every day, with thousands
of those joining the actual Internet.  Remember, play FAIRLY and
HONESTLY and this will work. You just have to be honest.  Make sure
you
print this article out RIGHT NOW, also. Try to keep a list of everyone
that sends you money and always keep an eye on the newsgroups to make
sure everyone is playing fairly.

Remember, HONESTY IS THE BEST POLICY. You don't need to cheat the
basic
idea to make the money!!  GOOD LUCK to all and please play fairly and
reap the huge rewards from this, which is tons of extra CASH. **By the
way, if you try to deceive people by posting the messages with your
name
in the list and not sending the money to the rest of the people
already
on the list, you will NOT get as much. Someone I talked to knew
someone
who did that and he only made about $150.00, and that's after seven or
eight weeks! Then he sent the 5 $1.00 bills, people added him to their
lists, and in 4-5 weeks he had over $10k. This is the fairest and most
honest way I have ever seen to share the wealth of the world without
costing anything but our time!!! You also may want to buy mailing and
e-mail lists for future dollars.  Please remember to declare your
extra
income.   Thanks once again.



------------------------------

Date: Mon, 29 Oct 2007 04:42:13 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Mon Oct 29 2007
Message-Id: <Jqnp2D.JIn@zorch.sf-bay.org>

The following modules have recently been added to or updated in the
Comprehensive Perl Archive Network (CPAN).  You can install them using the
instructions in the 'perlmodinstall' page included with your Perl
distribution.

Clarion-1.1.2_3
http://search.cpan.org/~ukoloff/Clarion-1.1.2_3/
Perl module for reading CLARION 2.1 data files 
----
Class-Dot-2.0.0_01
http://search.cpan.org/~asksh/Class-Dot-2.0.0_01/
Simple and fast properties for Perl 5. 
----
ClearCase-Wrapper-MGi-0.05
http://search.cpan.org/~mgi/ClearCase-Wrapper-MGi-0.05/
Marc Girod's contributed cleartool wrapper functions 
----
Config-Properties-1.68
http://search.cpan.org/~salva/Config-Properties-1.68/
Read and write property files 
----
Crypt-CCM-0.03
http://search.cpan.org/~oyama/Crypt-CCM-0.03/
CCM Mode for symmetric key block ciphers 
----
Device-LaCrosse-WS23xx-0.01
http://search.cpan.org/~esm/Device-LaCrosse-WS23xx-0.01/
read data from La Crosse weather station 
----
EV-0.02
http://search.cpan.org/~mlehmann/EV-0.02/
perl interface to libevent, monkey.org/~provos/libevent/ 
----
HTML-Element-Tiny-0.002
http://search.cpan.org/~hdp/HTML-Element-Tiny-0.002/
lightweight DOM-like elements 
----
Lab-Instrument-1.2
http://search.cpan.org/~schroeer/Lab-Instrument-1.2/
General VISA based instrument 
----
Lab-Tools-1.2
http://search.cpan.org/~schroeer/Lab-Tools-1.2/
----
Lab-VISA-1.12
http://search.cpan.org/~schroeer/Lab-VISA-1.12/
Perl interface to National Instrument's VISA library 
----
Module-Release-1.18
http://search.cpan.org/~bdfoy/Module-Release-1.18/
Automate software releases 
----
Parse-Marpa-0.001_025
http://search.cpan.org/~jkegl/Parse-Marpa-0.001_025/
Earley's Algorithm, with improvements 
----
SQL-Biblosoph-1.0
http://search.cpan.org/~matiu/SQL-Biblosoph-1.0/
----
SQL-Biblosoph-1.1
http://search.cpan.org/~matiu/SQL-Biblosoph-1.1/
----
SQL-Biblosoph-1.2
http://search.cpan.org/~matiu/SQL-Biblosoph-1.2/
----
Set-IntSpan-1.13
http://search.cpan.org/~swmcd/Set-IntSpan-1.13/
Manages sets of integers 
----
Test-Deep-0.099
http://search.cpan.org/~fdaly/Test-Deep-0.099/
Extremely flexible deep comparison 
----
Test-Distribution-1.27
http://search.cpan.org/~srshah/Test-Distribution-1.27/
perform tests on all modules of a distribution 
----
Test-Weaken-0.002002
http://search.cpan.org/~jkegl/Test-Weaken-0.002002/
Test for leaks after weakening of circular references 
----
WWW-Velib-0.04
http://search.cpan.org/~dland/WWW-Velib-0.04/
Download account information from the Velib website 
----
X10-Home-0.02
http://search.cpan.org/~mschilli/X10-Home-0.02/
Configure X10 for your Home 
----
lsid-perl-1.1.6
http://search.cpan.org/~ekawas/lsid-perl-1.1.6/
----
onto-perl-1.0
http://search.cpan.org/~easr/onto-perl-1.0/
----
rssdrop-0.1
http://search.cpan.org/~acg/rssdrop-0.1/
deliver rss feeds to Maildirs 
----
self-0.10
http://search.cpan.org/~gugod/self-0.10/
Provides "self" and "args" keywords in your OO program. 


If you're an author of one of these modules, please submit a detailed
announcement to comp.lang.perl.announce, and we'll pass it along.

This message was generated by a Perl program described in my Linux
Magazine column, which can be found on-line (along with more than
200 other freely available past column articles) at
  http://www.stonehenge.com/merlyn/LinuxMag/col82.html

print "Just another Perl hacker," # the original

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


------------------------------

Date: 28 Oct 2007 17:53:45 -0700
From: mmccaws2 <mmccaws@comcast.net>
Subject: problems building perl modules, path question
Message-Id: <1193615137.166142.96230@q5g2000prf.googlegroups.com>

I've been having problems building modules from the perl -MCPAN -e
shell.  Usually the error refers to not having permission to a perl
library. My os is HPUX 11i.

I am not the administrator for the box, but I use sudo to install the
modules.

so I start like: $ perl -MCPAN -e shell.
login
then try to install a module like Net::SSH::Perl.  The errors will say
do not have permission to a library that is installed on the box.

Question is - why would I not have permission to a perl library in a
perl directory?  is this based on sudo, my perl installation, or my
path parameters?

Thanks
Mike



------------------------------

Date: Mon, 29 Oct 2007 02:07:55 +0000
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: problems building perl modules, path question
Message-Id: <rsrfv4-su42.ln1@osiris.mauzo.dyndns.org>


Quoth mmccaws2 <mmccaws@comcast.net>:
> I've been having problems building modules from the perl -MCPAN -e
> shell.  Usually the error refers to not having permission to a perl
> library. My os is HPUX 11i.
> 
> I am not the administrator for the box, but I use sudo to install the
> modules.
> 
> so I start like: $ perl -MCPAN -e shell.
> login
> then try to install a module like Net::SSH::Perl.  The errors will say
> do not have permission to a library that is installed on the box.
> 
> Question is - why would I not have permission to a perl library in a
> perl directory?  is this based on sudo, my perl installation, or my
> path parameters?

Are you actually using sudo? What happens if you type

    o conf make_install_make_command "sudo make"
    o conf commit

into the CPAN shell and try again? If this doesn't work you need to
upgrade your version of CPAN.pm: if you wish to do this globally, you
will need to do it by hand.

Alternatively, see perldoc -q 'own module'.

Ben



------------------------------

Date: Mon, 29 Oct 2007 05:04:14 -0000
From:  Ron Bergin <rkb@i.frys.com>
Subject: Re: problems building perl modules, path question
Message-Id: <1193634254.120563.273330@v23g2000prn.googlegroups.com>

On Oct 28, 4:53 pm, mmccaws2 <mmcc...@comcast.net> wrote:
> I've been having problems building modules from the perl -MCPAN -e
> shell.  Usually the error refers to not having permission to a perl
> library. My os is HPUX 11i.
>
> I am not the administrator for the box, but I use sudo to install the
> modules.
>
> so I start like: $ perl -MCPAN -e shell.0
Are you sure you're using sudo?  Based on the command that you've
posted, I'd say that's highly unlikely.

> login
> then try to install a module like Net::SSH::Perl.  The errors will say
> do not have permission to a library that is installed on the box.
>
> Question is - why would I not have permission to a perl library in a
> perl directory?  is this based on sudo, my perl installation, or my
> path parameters?

Try doing:

$ sudo bash
[pass your login credentials]

# perl -MCPAN -e shell

Note the difference between the $ prompt and the # prompt.



------------------------------

Date: Mon, 29 Oct 2007 06:31:51 +0100
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: reading a directory, first files the newest ones
Message-Id: <5ol9i9Fn4d55U1@mid.individual.net>

Peter J. Holzer wrote:
> On 2007-10-28 04:29, Gunnar Hjalmarsson <noreply@gunnar.cc> wrote:
>> xhoster@gmail.com wrote:
>>> There is no reason to think that ls is going to be meaningfully 
>>> faster about this than perl will.
>> ... my benchmark (see below) indicates otherwise. The difference seems 
>> to increase when the directory size increases.
>>
>> $ cat sortdir.pl
>> use Benchmark 'cmpthese';
>> my $dir = '/usr/lib';
>> cmpthese -5, {
>>      Linux => sub {
>>          chomp( my @files = qx(ls -t $dir) );
>>      },
>>      Perl  => sub {
>>          chdir $dir;
>>          opendir( my $DH, '.' );
>>          my @files = map { $_->[0] }
>>            sort { $a->[1] <=> $b->[1] } map { [ $_, -M ] }
>>            grep substr($_, 0, 1) ne '.', readdir $DH;
>>      },
>> };
>>
>> $ perl sortdir.pl
>>         Rate  Perl Linux
>> Perl  174/s    --  -75%
>> Linux 693/s  297%    --
> 
> Your benchmark isn't valid: You are processing the complete directory
> several hundred times per second, which indicates that it fits
> completely into the buffer cache. After the first time you are measuring
> mostly the processing time of ls and perl, not disk accesses.

And that's what we were discussing, so I can't see that the benchmark 
wouldn't be valid.

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl


------------------------------

Date: Mon, 29 Oct 2007 00:02:42 +0000 (UTC)
From: Jesse Houwing <jesse.houwing@newsgroup.nospam>
Subject: Re: Regular expression to match only strings NOT containing particular words
Message-Id: <21effc90274558c9e7de8ad39618@news.microsoft.com>

Hello Dylan,

> On Oct 28, 6:45 am, Jesse Houwing <jesse.houw...@newsgroup.nospam>
> wrote:
> 
>> Hello Dylan,
>> 
>>> On Oct 20, 2:40 am, "J?rgen Exner" <jurge...@hotmail.com> wrote:
>>> 
>>>> J?rgen Exner wrote:
>>>> 
>>>>> Dylan Nicholson wrote:
>>>>> 
>>>>>> I can write a regular expression that will only match strings
>>>>>> that are NOT the word apple:
>>>>>> 
>>>>>> ^([^a].*|a[^p].*|ap[^p].*|app[^l].*|apple.+)$
>>>>>> 
>>>>>> But is there a neater way, and how would I do it to match strings
>>>>>> that are NOT the word apple OR banana? Then what would be needed
>>>>>> to match only strings that do not CONTAIN the word "apple" or
>>>>>> "banana" or "cherry"?
>>>>>> 
>>>>> !(/apple/ or /banana/ or /cherry/)
>>>>> 
>>>> Actually, coming to think of it: there is no good reason to use a
>>>> RE in the first place because you are looking for a literal
>>>> substring only without any of the meta-functionality of REs. The
>>>> proper tool for that much simpler task is index().
>>>> 
>>>> jue
>>>> 
>>> Sure, except the regular expression mechanism is already in place as
>>> a feature of the application.  I was just curious if it could be
>>> used to solve a particular problem.
>>> 
>>> Unfortunately "!(/apple/ or /banana/ or /cherry/)" doesn't work with
>>> Microsoft's .NET regex library.
>>> 
>> It isn't ideal, but this will do the trick:
>> 
>> ^((?!\b(cherry|banana|apple)\b).)*$
>> 
> Thanks...works great...why do you say it's not ideal?  

My guess is that is isn't the fastest solution.

> I removed the
> \b's though, as I need to exclude any string that contains "apple",
> regardless of whether it's a separate word.

Ok, didn't understand that from the original post. You can then also remove 
the addiotional ()

^((?!cherry|banana|apple).)*$

>> Make sure you set the option SingleLine and unset the option
>> Multiline when
>> appropriate. If the application is under your control, it would
>> probably
>> be easier to add a checkbox which will invert the match result from
>> Success
> Yes, we'll probably do something similar for the next version.
> 
>> Though as Jue pointed out, it's probably faster and easier to
>> maintain when
>> you implement a "bad words" list and use indexOf to see if the string
>> is
>> in there somewhere. You might even use \bword\b in a regex for that.
> If the regex does the job, it's more than adequate for now.

Good. Glad I was of help.

--
Jesse Houwing
jesse.houwing at sogeti.nl




------------------------------

Date: Mon, 29 Oct 2007 10:29:17 +0900
From: Gernot Hassenpflug <gernot@nict.go.jp>
Subject: Re: TeX pestilence
Message-Id: <878x5mpv2q.fsf@nict.go.jp>

Boris Veytsman <borisv@lk.net> writes:

> AG> From:  Alexander Grahn <a.grahn@fz-rossendorf.de>
> AG> Date: Fri, 26 Oct 2007 06:13:55 -0700
>
> AG> On 26 Okt., 13:47, David Kastrup <d...@gnu.org> wrote:
>
>>> Hm?
>
> AG> It is the way you sing you own praise that makes G.H. laugh.
>
> Well, the thing is - David is quite right here.  He IS one of the
> wizards of TeX hackery.  

Just so this does not get out of hand---the fact that D.K.'s sentence
made me laugh is not to imply that I somehow denigrate him.
-- 
BOFH excuse #270:

Someone has messed up the kernel pointers


------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
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: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

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 V11 Issue 986
**************************************


home help back first fref pref prev next nref lref last post