comp.lang.perl.misc
  Home FAQ Contact Sign in
comp.lang.perl.misc only
 
Advanced search
December 2007
motuwethfrsasuw
     12 48
3456789 49
10111213141516 50
17181920212223 51
24252627282930 52
31       1
2007
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.perl.misc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  FAQ 6.16 How do I efficiently match many regular expressions at once?         


Author: PerlFAQ Server
Date: Dec 31, 2007 18:03

This is an excerpt from the latest version perlfaq6.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

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

6.16: How do I efficiently match many regular expressions at once?

( contributed by brian d foy )

Avoid asking Perl to compile a regular expression every time you want to
match it. In this example, perl must recompile the regular expression
for every iteration of the foreach() loop since it has no way to know
what $pattern will be.

@patterns = qw( foo bar baz );
Show full article (3.11Kb)
2 Comments
  Perl - no longer open source and facing extinction         


Author: Purl Gurl
Date: Dec 31, 2007 16:20

I am noting the continued demise of Perl programming.

Participation within this group is down about seventy-five
percent from traditional historical averages. The new
"perl.beginners" groups are the verge of extinction.

Of interest to me is the policy of "banishment" by the
Perl beginners groups. The main group, perl.beginners,
participation is cut in half and more since a banishment
policy has been effected. The beginners cgi group is down
to a near zero participation level.

Perl was once an open source programming language. Today,
this is not true. Many proficient Perl programmers are no
longer allowed to participate in discussions of Perl. This,
of course, does contribute to the demise of Perl programming.

Looks to me a select few are converting Perl into a "closed source"
programming language, this is, only allowing a select few to
continue participating in discussions of and development of
the Perl programming language.
Show full article (1.47Kb)
37 Comments
  create report from csv file         


Author: Chris
Date: Dec 31, 2007 13:30

Does anybody know of a perl or something similiar that can take a csv
database and create a report. Assumptions the csv file is presorted
and is delimited with | pipes. Only one field will need to match.

R&D

Milpitas
393 Licoln Drive 33,000 sq.ft. 1.20
400 Maple Lane 12,000 sq.ft. 1.25

San Jose
31 First Street 40,000 sq.ft. 1.50
9 Third Street 30,000 sq.ft. 1.40

I've looked at ezscripting.com but they can't group by city.

Thanks,
Chris
3 Comments
  Lynda Beavis         


Author: sloppysecondzz
Date: Dec 31, 2007 12:38

John Shane from New York
also goes by Jack Shane

Jack and Karen Shane

Karen Shane
Jack Shane
Karen Shane
John Shane

www.john-shane.com

A landlord from New York married to Karen Shane.
evicting tenants to raise the rent and never moves in.

bmo financial group
917 226 7939

lynda beavis
lynda f. beavis
paralegal associates sudbury

scuzzbag
slumlord
landlord
asshole
Show full article (0.46Kb)
no comments
  FAQ 6.12 What does it mean that regexes are greedy? How can I get around it?         


Author: PerlFAQ Server
Date: Dec 31, 2007 12:03

This is an excerpt from the latest version perlfaq6.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

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

6.12: What does it mean that regexes are greedy? How can I get around it?

Most people mean that greedy regexes match as much as they can.
Technically speaking, it's actually the quantifiers ("?", "*", "+",
"{}") that are greedy rather than the whole pattern; Perl prefers local
greed and immediate gratification to overall greed. To get non-greedy
versions of the same quantifiers, use ("??", "*?", "+?", "{}?").

An example:

$s1 = $s2 = "I am very very cold";
$s1 =~ s/ve.*y //; # I am cold
$s2 =~ s/ve.*?y //; # I am very cold
Show full article (1.88Kb)
no comments
  utf-8         


Author: julia_2683
Date: Dec 31, 2007 11:33

I run perl v5.8.7 and my regular expresion is ($txt =~ m/(\w+|é\w+)/g)
which do not take every utf-8 word. How to make this regular
expression to take every utf-8 word ?
1 Comment
  http://www.elecserver-yhnetstore.cn happy new year,much propular product wait for you ,best idea for businesser         


Author: yhnetstore5
Date: Dec 31, 2007 09:27

http://www.elecserver-yhnetstore.cn happy new year,much propular
product wait for you ,best idea for businesser
We are wholesale each kind of Shoes, Jeans, T-shirts,
Sunglasses,Handbags,

Wallets, Sandals, Watches,Cap, Belt... from China. In the process of
fast

development,(http://www.elecserver-yhnetstore.cn) are looking forward
to

cooperation with inner and abroad business partners.We will work hard
to

meet the interests of our customers to boost our advantage. We are
sure we

will be one of your best ideal cooperation partners.

We export our brand shoes all over world because of our competitive
price,

good quality products and good service. All our products are
guaranteed to

be a minimum of AAA+ quality. Our price and good service are often
Show full article (1.84Kb)
no comments
  :::@@==>>3 FREE LIVE CAMS<<==@@:::         


Author: cindy-sexy
Date: Dec 31, 2007 07:49

:::@@==>> Earth to earth Ashes to ashes dust to dust <<==@@:::

Hello I would like you see this page And tell me what do you think. It
´s a dead man!! I can´t understand how can be people whit this mind.
You can see 3 diferents cameras.
It´s free www.Man-X.org 3 FREE LIVE CAMS!!
no comments
  Propblems with pp         


Author: Justin Smith
Date: Dec 31, 2007 06:57

I am trying to develop a standalone application using pp (since the
original application uses 12 libraries:
Show full article (0.96Kb)
1 Comment
  FAQ 6.17 Why don't word-boundary searches with "\b" work for me?         


Author: PerlFAQ Server
Date: Dec 31, 2007 06:03

This is an excerpt from the latest version perlfaq6.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

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

6.17: Why don't word-boundary searches with "\b" work for me?

(contributed by brian d foy)

Ensure that you know what \b really does: it's the boundary between a
word character, \w, and something that isn't a word character. That
thing that isn't a word character might be \W, but it can also be the
start or end of the string.

It's not (not!) the boundary between whitespace and non-whitespace, and
it's not the stuff between words we use to create sentences.

In regex speak, a word boundary (\b) is a "zero width assertion",
meaning that it doesn't represent a character in the string, but a
condition at a certain position.
Show full article (3.21Kb)
no comments
 
1 2