2009/7/29 Ovid publiustemp-londo...@yahoo.com:
Python (Japanese): I'm Ruby.
Perl: I'm Perl.
Python: I'm a clean, modern language.
Perl: Hey, you're Japanese. Don't you write that funny Kanji stuff? How can
you read that?
Python: Hey, it's a beautiful, expressive style of writing. It's not
2009/1/28 Ovid publiustemp-londo...@yahoo.com:
- Original Message
From: Peter Corlett ab...@cabal.org.uk
The problem with strongly and weakly typed is that different people
define
them differently and they don't have much meaning in type systems. It's
static
typing and
2008/12/22 Léon Brocard a...@astray.com:
2008/12/22 Nicholas Clark n...@ccl4.org:
If your network lets you, it's probably faster to do this:
git clone git://perl5.git.perl.org/perl.git perl-git
If you are interested in hacking on perl, we're putting together a
document which leads you
2008/10/10 Paul Makepeace [EMAIL PROTECTED]:
Back to programming languages(!)
Just as a different perspective, here is Python growing a ternary operator,
i.e. how to get the same behavior as the C-like C ? A : B. There was
considerable debate about this, with Guido eventually Making a
2008/10/9 Iain Barnett [EMAIL PROTECTED]:
I've no idea what smart match should do when confronted with an object -
check against each value in it's hash? It's the smart one, not me! :_)
Check if the ~~ operator is overloaded and call it, of course.
2008/9/8 Nicholas Clark [EMAIL PROTECTED]:
On Mon, Sep 08, 2008 at 05:59:26PM +0100, Paul Makepeace wrote:
Has anyone used perforce? Do you also think it makes the OSS VCS look
especially weak?
I am much happier with its merge support than raw subversion, or subversion
(1.4) + svn-merge.py.
Philip Newton wrote:
I think Brian McCauley(sp?) has a solution to this (that he wanted to
get into the Perl FAQ) using here-docs. Something like this:
my $data = join '', DATA;
eval \$data = UNLIKELYSTRING;\n$data\nUNLIKELYSTRING;
What's the advantage over this ?
$data =
Jasper McCrea wrote:
What's a pirate's favourite country?
Isn't there one with lightbulbs ?
There's always one with lightbulbs.
--
Q: How many extreme programmers does it take to change a lightbulb?
A: Two (Firstly to write the regression tests, then to declare that it's a
hardware
Joel Bernstein wrote:
my $foo=( split ',' = $line )[7];
Side note : use /,/ instead of ','.
The 1st argument to split() is always a regexp (1), and write it this way
if you don't want to debug what's wrong with Csplit '|' = $foo.
-
(1) except when it's a single space . :-)
Andy Wardley wrote:
Just for fun:
How many lines of Perl code have been written? Ever.
And, how many lines of Perl code have been cargo-culted from Matt's
script archive ? Ever ;-)
Ronan Oger wrote:
Qmail has a tarpit patch. more about it here:
http://www.palomine.net/qmail/tarpit.html
Side-comment :
I guess each major open source project gives birth to a
different-shaped community.
I'm always amazed at the qmail community, where the main
currency unit seems to be
Dan Brook wrote:
use vars '%INC';
useless use of use vars : the INC symbol is exempt from strict-vars
errors. Or do you use a buggy version of perl that I don't know about
?
No, I was just keeping my own copy of %INC so it didn't interfere with
the main %INC.
INC is one of
Matt Lawrence wrote:
INC is one of those symbols that are always forced into package main::.
(they're listed at the end of perlvar.)
Is it not possible to use local() on these variables, then?
Well, you can local()ise variables in main:: just like any other ones.
local() creates a
Dan Brook wrote:
use vars '%INC';
useless use of use vars : the INC symbol is exempt from strict-vars
errors. Or do you use a buggy version of perl that I don't know about ?
Shevek wrote:
Surely identifying the dependencies of any one module is incomputable in
general, and most likely incomputable in the specific cases of many
popular modules, especially those with baroque plugin architectures.
Of course that depends on whether you want to compute the
Michael Stevens wrote:
Probably you could get most of the data the experimental way - %INC will
list things loaded with do, require, or use (see perlvar), so you could
'use' each interesting module on its own and monitor which files get
loaded, and generate a suitable graph.
I think that
Nigel Rantor wrote:
Hopefully Lynch hasn't completely given away the
idea of coming back to TV...
And Wild Palms was forgettable. Well, I saw it and now it is forgotten.
I've seen it. I some point I was looking at the original comic books
(never found them). It's true that the first
Nicholas Clark wrote:
At the risk of going off topic, the Perl 5 source isn't exactly pleasant.
And contains gotos. IIRC I added 2 between 5.6.0 and 5.8.0, but the
alternative was a big mess of if()s and braces. C doesn't have all the
nice loop labelling features of a certain other language.
Paul Mison wrote:
Babylon 5 is an obvious counter-example,
First time I encounter this title. I think it was never
broadcast in France, at least not on a public channel. Or is
it ancient ?
Dave Cross wrote:
You jest surely. Have you never seen The Prisoner or Twin
Peaks?
While Twin Peaks was pretty good, (and I enjoyed the companion movie as
well), I don't think it has the same level of achievement and
homogeneity than Buffy and the Prisoner. It's more like a testbed for
Lynch's
Piers Cawley wrote:
How would they know who to arrest if nobody turned up with the ID
card within seven days?
Implementation detail. Do you think that the marketroids that work
for the government are any better, on the average, than the others ?
Oh, and ID cards should be soft pink, too.
Mark Fowler wrote:
Essentially what I need to do is calculate a hashkey for a Perl data
structure. What's the commonly accepted wisdom to do this? My wee little
brain is thinking serialisation either by Storable or YAML and then hashing
with Digest::MD5 or one of the other common string
David Landgren wrote:
ghandiI think it would be a nice idea./ghandi
Although the scope of Ghandi's quote is much broader than the sole
North-American civilisation.
--
Their syphilisation, you mean, says the citizen.
-- J. Joyce, Ulysses
Earle Martin wrote:
On Thu, Aug 28, 2003 at 09:48:56AM -0500, Elaine -HFB- Ashton wrote:
You don't carry any ID on you at times? What
happens if you get hit by a bus and you're alone? How do you expect your
body will be identified?
My debit cards? Business card? Piece of paper in my
Andy Ford wrote:
How do I change the search directories in @INC?
Recompile perl and reinstall.
I have recently installed a later version of perl (5.8.0) from version
5.6.1 on a solaris 2.8 box. I am now trying to make new perl modules to
use under this distribution but @INC point ot the
Nigel Rantor wrote:
The reasoning is not so that the namespace doesn't get polluted. His
argument is regarding space efficiency.
That might matter in an Apache::Registry environment.
Each Apache::Registry script is compiled in its own namespace ;
importing symbols takes space (not so much,
Nicholas Clark wrote:
On Sat, Aug 16, 2003 at 11:13:53AM +0100, Simon Wistow wrote:
I think the potential for me to mess up with Safe is too great,
Safe has bugs. You don't need to mess up - it's already done
for you. Safe isn't.
More precisely there are quite a lot of opcodes that
Nigel Rantor wrote:
Talking
of Jamon...here's a really *nice* restaurant in that area...
Jamon Jamon
Does the French madness about movie-named restaurants invade London ?
http://www.imdb.com/Title?0104545
Must try stuffed baby red peppers, white anchovies, mushrooms with
spinach
[EMAIL PROTECTED] wrote:
I was just wondering why this:
@m=([(_)x10])x5;
$m[1][2]=o;
for $y (0..4)
{
for $x (0..9)
{
print $m[$y][$x];
}
print $y$/;
}
produces this:
__o___ 0
__o___ 1
__o___ 2
__o___ 3
__o___ 4
?
the x operator on lists
Chisel Wright wrote:
On Thu, Aug 14, 2003 at 02:03:17PM +0200, Elizabeth Mattijsen wrote:
Hmmm... PerlIO::via::backwards?
Or (assuming vim as the mutt editor used):
select lines, then !rev
Or perhaps more accurately :
%!rev
%ri
%!tac
although using external
Philip Newton wrote:
On 5 Aug 2003 at 9:41, Andy Ford wrote:
Another word to confuse the non English speaking community -the verb to
text!!
Any noun can be verbed (though verbing weirds language).
hlör u fang axaxaxas mlö.
I let you google for it.
Belden Lyman wrote:
A few months back I encountered a switch ordering bug with
Perl 5.6.1 and 5.8 on Solaris. (-w -T on #! line doesn't work;
-T -w does work, as do -wT and -Tw.)
I wasn't able to 'perlbug' it at the time, and am still unable
to do so. On occassion, I remember the bug and
Paul Makepeace wrote:
I'd like to dump regex matches into an array without explicitly naming
$1, $2, ...
=head1 NOT WORKING CODE
($month, $day, $time, $host, $process, $pid, $message) =
/^(\w+) (\d+) (\d\d+:\d\d:\d\d) (\w+) ([()\w\/]+)\[(\d+)\]: (.*)$/ ||
/^(\w+) (\d+)
Dean Wilson wrote:
I've been clearing out my bookmarks and found one for the Perl Review,
(http://www.theperlreview.com/), after a quick mosey around the site it
looks like its stopped being published. Does any one know the story behind
it?
The work force behind the Perl Review is brian d
Dave Cross wrote:
So, a few questions:
1/ How much chance is there that a Samba installation will cause
problems? How stable is Samba?
Samba is quite stable, but well, it has the same problems than NetBIOS :
it's bandwidth consuming (designed for LANs). And if the machines are
open on the
Robin Berjon wrote:
Rafael Garcia-Suarez wrote:
Alternatives :
WebDAV ? IIRC Windows' file explorer supports it natively.
It does. I'm not sure however that using WebDAV as a full time file system is a
happy choice, not sure it's been tested that intensively. It'll also be slow.
So
Greg McCarroll wrote:
So does anyone have anything that they think would sell?
I could sell a running joke, or another recurrent mention of
something, for the P5P summaries. - That's not like I was
copying on Piers. Is it ?
Greg McCarroll wrote:
* Rafael Garcia-Suarez ([EMAIL PROTECTED]) wrote:
I could sell a running joke, or another recurrent mention of
something, for the P5P summaries. - That's not like I was
copying on Piers. Is it ?
straw poll - would anyone be interested in bidding on this?
More
Earle Martin wrote:
Wouldn't hacking perl be more of a lowest common denominator here? You
also missed out the crucial IRC bit. I'd rearrange the bits to:
owns a pony
| lives or works in the London area
| | actively subscribed to mailing list
| | | regularly attends
Roger Burton West [EMAIL PROTECTED] wrote:
This has bitten me several times. A recent example:
I have a file in HTML-like markup. I've just found a piece of text to
which I might want to do something, but not if it's within a tag. The
file up to but not including the match is in $foo. I
Robin Houston wrote:
ps. If anyone has any idea why PadWalker doesn't work with bleadperl,
I'd be interested in hearing it!
There has been some massive reorganisation in the pad code.
(I suggest that you ping Dave Mitchell. He knows this part best.)
acme wrote:
I've been reading the Python Cookbook and it's all quite
interesting apart from the whitespace.
Butabookwithoutanywhitespacewouldbedifficulttoread,wouldn'tit.
Lusercop wrote:
On Fri, Jun 13, 2003 at 11:58:23AM +0100, Leon Brocard wrote:
... H lp! S m b d st l ll th v w ls fr m m k yb rd!
This is totally inconsistent, at the very least, y should be either a
vowel or not, it can't be both, as above...
Nope : http://www.wikipedia.org/wiki/Semivowel
Joel Bernstein [EMAIL PROTECTED] wrote:
This hit the gtk-perl list, and looks really damn useful for all XS
developers. I'm certainly going to give it a whirl, because xsubpp error
reporting is Broken and Wrong, currently.
Any reason not to use the less intrusive (but untested) patch below
Dominic Mitchell wrote:
Lusercop wrote:
What's this M-x rubbish?
Just take this red pill, labelled emacs.rpm. You'll soon find out how
deep the elisp hole really goes.
What's that .rpm rubbish ?
45 matches
Mail list logo