Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Regular Expressions: Call for Examples

by footpad (Monsignor)
on Jul 23, 2002 at 22:11 UTC ( #184626=note: print w/ replies, xml ) Need Help??


in reply to Re: Regular Expressions: Call for Examples
in thread Regular Expressions: Call for Examples

Do you mean this one?

$Old_MacDonald = q#print #; $had_a_farm = (q-q:Just another Perl hacker,:-); s/^/q[Sing it, boys and girls...],$Old_MacDonald.$had_a_farm/eieio;

As far as I can tell, the first (currently) recorded appearance of this can be found on this announcement regarding what I presume is the first edition of a certain book in most of our collections.

(Note: I've written as three lines because the two-line version wrapped oddly.)

--f


Comment on Re: Re: Regular Expressions: Call for Examples
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://184626]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2015-07-05 17:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls