On Tue, 22 Jul 2014 06:31:57 +0100
Dave Cross wrote:
> You know that the same flight number flies on different days? :-)
Huh. I always thought that a flight number always mapped to a given day
of the week as well? But perhaps not...
--
Paul "LeoNerd" Evans
leon...@leoner
flights as you; BA0890
+ BA0819 but you've entered it in Wednesday on the Arrivals, and myself
and Léon have put Thursday - you might want to double-check yours.
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
http://www.leonerd.org.uk/ | https://metacpan.org/author/PEVANS
s
in a group who knows the route/place a little
better...
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
http://www.leonerd.org.uk/ | https://metacpan.org/author/PEVANS
signature.asc
Description: PGP signature
st want
> basic arithmetic and placeholders. Otherwise, I can recommend
> Parse::RecDescent.
Parser::MGC will also let you build quite a simple expression evaluator.
For example, see this one that just does +-*/ on integers:
https://metacpan.org/source/PEVANS/Parser-MGC-0.12/examples/eval-expr.
On Mon, 3 Mar 2014 21:45:53 +
Tom Hukins wrote:
> Subject: [ANNOUNCE] London.pm Dim Sum, Wednesday 3rd March, Docklands
Shome mishtake shurely?
Perhaps you mean Wednesday 5th?
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux
day... <.< >.>
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: PGP signature
d
someone local who I might drop in on, or else consider how early I
could travel on Saturday morning, to at least avoid staying Fri->Sat
there.
Any thoughts?
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
si
rt of crap. When anyone ever abuses references
headers like this, I just hit # and hey presto - new thread. :)
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: Digital signature
is out, I'm hoping to suggest placing IO::Socket::IP in core
too, alongside the older ::INET.
HTH,
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: Digital signature
kgeek/cafepress/etc..)?
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: Digital signature
lit a prefix you
gain no new actually-usable "addresses" but gain another entry that every
internet router in the world has to know about.
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: PGP signature
ress,
pack prefix length and next hop ID in a single byte), that's still 15MB.
More likely it'll take much more space than that.. possibly more than
the, say, 64MB that smaller Cisco routing boxes come with. That's every
internet-BGP-talking box in the world, has to have that table.
On Wed, 9 Dec 2009 07:11:44 +0100
Philip Newton wrote:
> 2009/12/9 Andrew Black :
> > people are getting a bit pentiumed up
>
> Well, I amd expecting a bit of intel-ligence. Cyrixously now.
Sun may say we've gone too far...
--
Paul "LeoNerd" Evans
leon.
I'm planning to attend LPW, which will be my first such attendance.
Is there any likelyhood of some sort of pub meetup perhaps, the day
before? A chance to get to see a few faces beforehand?
If not, I propose that there ought to be... Any takers on that idea?
--
Paul "LeoNerd&qu
(appols for semi-duplicate)
On Tue, Nov 10, 2009 at 03:11:04PM +0100, Philip Newton wrote:
> On Tue, Nov 10, 2009 at 14:51, Paul LeoNerd Evans
> wrote:
> > So how about
> >
> > my @matches = $_[0] =~ m/^$re/ or die ;
> > substr( $_[0], 0, $+[0] ) = "&qu
On Tue, Nov 10, 2009 at 03:11:04PM +0100, Philip Newton wrote:
> On Tue, Nov 10, 2009 at 14:51, Paul LeoNerd Evans
> wrote:
> > So how about
> >
> > my @matches = $_[0] =~ m/^$re/ or die ;
> > substr( $_[0], 0, $+[0] ) = "";
> >
> > retu
er the match in m// then cut of matching
prefix idea, as suggested by Philip Newton..
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: Digital signature
es = $_[0] =~ m/^$re/ or die ;
substr( $_[0], 0, $+[0] ) = "";
return @matches;
I think I like that...
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: Digital signature
haps there's a neater solution
- I find there's no @{^MATCHGROUPS} or similar present in perl...
Can anyone offer any neater suggestions?
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: Digital signature
getting overflowed somewhere?
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: PGP signature
first one): I thought he was?
(A fourth appears): Yes, I am.
(Perl looks beyond this person to see a long queue of others, stretching
as far as his eye can see...)
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: PGP signature
On Thu, Apr 16, 2009 at 06:18:45PM +0100, David Cantrell wrote:
> Anyone recommend a module to give me something like system(@list) but
> with a timeout?
Does IPC::Run have something suitable? I seem to recall it has quite a
lot of interesting things to fiddle with...
--
Paul "Leo
::Loop;
my $loop = IO::Async::Loop->new();
sub take_over_world
{
print "Same thing we do every day Pinky...\n";
$loop->enqueue_timer(
delay => 3, # in seconds
code => sub { take_over_world() },
);
}
take_over_world();
$loop->loop_forever;
--
P
On Thu, Apr 02, 2009 at 11:42:32AM +0100, Paul LeoNerd Evans wrote:
> On Tue, 31 Mar 2009 19:26:37 +0100
> Matt Lawrence wrote:
>
> > Module::Util will do this for you:
>
> A surprisingly-useful looking module. I wonder why I haven't come across
> this one before
ut?
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: PGP signature
my /usr/share/perl/5.10/strict.pm is world-writable, say, then I'm
already dead way before Module::Pluggable gets to run.
Incidentally, what you're looking for is called TPE; Trusted Path
Execution. The GRSecurity Linux Kernel patch has such an option for
exec() and friend
nts from:
http://search.cpan.org/author/PEVANS/IPC-PerlSSH-0.10/lib/IPC/PerlSSH.pm
Also for nonblock/async stuff:
http://search.cpan.org/author/PEVANS/IPC-PerlSSH-Async-0.03/lib/IPC/PerlSSH/Async.pm
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Regi
On Wed, 17 Dec 2008 20:54:40 +0100
"Philip Newton" wrote:
> On Thu, Dec 18, 2008 at 02:47, Torsten Knorr wrote:
> > Who is Haiku?
>
> Not who; what.
>
> http://de.wikipedia.org/wiki/Haiku
Or maybe you'll find http://en.wikipedia.org/wiki/Haiku more useful
On Mon, 15 Dec 2008 19:28:05 UT
"Torsten Knorr" wrote:
> Let them use other languages.
> We can improving it with Perl.
> In addition we are more flexible.
Soo close to Haiku:
Let them use others
We can improve it with Perl
We're more flexible
--
Pa
ve to get to the bottom of it. Do you know any writings or
authoritative source on the changes?
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: PGP signature
123 or 45.6
reference:
[your list above]
GLOB
--
Paul "LeoNerd" Evans
leon...@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: PGP signature
On Thu, 9 Oct 2008 00:49:15 +0100
Paul LeoNerd Evans <[EMAIL PROTECTED]> wrote:
> my $foo = $a + $b;
>
> I suppose you'd suggest this can be written
>
> my scalar foo is scalar a add scalar b end statement
I suppose this is a little unfair, since my brain is sorto
as they're barewords. That's
why 5.10 has the 'use feature' pragma for switch/etc...
I suppose you could
use feature qw( in );
but then does it really buy all that much?
--
Paul "LeoNerd" Evans
[EMAIL PROTECTED]
ICQ# 4135350 | Registered Linux# 179460
is scalar a add scalar b end statement
and somehow that is more readable?? As the previous poster said; if you
wanted COBOL you know where to find it. "ADD 1 TO COBOL GIVING COBOL" and
so on...
One of the things _I_ like about Perl is that it accepts the fact that
larger alphabets yield sho
s %{$pkg."::"};
}
print "The sub is called: " . join( " ", @names ) . "\n";
Gives
The sub is called: Some::Pkg::bar Some::Pkg::foo Some::Pkg::splot
> caller gives __ANON__, because, after all, that was the name the subroutine
> had when it was co
sues (eg. MSWin32), but an interesting
alternative if you don't mind the performance being sub-optimal might
also be
exec( $^X, "-e", "exit $status" );
--
Paul "LeoNerd" Evans
[EMAIL PROTECTED]
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: PGP signature
On Fri, 12 Sep 2008 00:48:06 +0100
Paul LeoNerd Evans <[EMAIL PROTECTED]> wrote:
> binmode STDOUT, ":utf8" if grep m/utf-?8/i, @ENV{qw(LANG LC_MESSAGES
> LC_ALL)};
>
> And even then I'm not sure it's right.
Actually it's still not... We have to take
ot sure it's right. Which really just proves my
point...
The -C...L flag _already_ implements the correct logic. It's just not
useful as it is...
--
Paul "LeoNerd" Evans
[EMAIL PROTECTED]
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: PGP signature
-C just call binmode itself?
This is getting stupider by the moment.
I've even tried this; it JustWorks:
#!/usr/bin/perl
BEGIN { exec $^X, "-COL", "-f", $0, @ARGV unless ${^UNICODE} }
print "Hello w\xe9rld\n";
$ ./test-unicode.pl
Hello wérld
-
ow.. Surely there must be _some_ way to make -C not
useless?
Hell, even this might work:
#!/usr/bin/perl
BEGIN { exec $^X, "-C", @ARGV unless ${^UNICODE} }
--
Paul "LeoNerd" Evans
[EMAIL PROTECTED]
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: PGP signature
o 48 2008-09-11 13:51 test.pl
$ cat test.pl
#!/usr/bin/perl -COL
print "Hello w\xe9rld\n";
$ ./test.pl
Too late for "-COL" option at ./test.pl line 1.
By the way, this is perl 5.10. I think it used to work on 5.8.8.
Perl version?
--
Paul "LeoNerd" Evan
r that -COL is supposed to
provide; and yet is "too late" by the shebang time.. Yet, clearly not
because I can do it even later at runtime.
Can anyone offer any insight here?
--
Paul "LeoNerd" Evans
[EMAIL PROTECTED]
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
signature.asc
Description: PGP signature
are should start using that instead where it can. It really
whips the pants off the slow fork()+exec() implementation in cygwin.
In fact, if just bash used it I'm sure already you'd notice an
improvement.
Oh and at this point I'd like to wave bzr in the svk v git discussion :)
--
P
43 matches
Mail list logo