Were you surprised by Daylight Savings Time?
On Sun, Jan 29, 2017 at 11:32 AM dan moylan wrote:
>
>
> in fiddling with a perl script to calculate the variable
>
> dates dependent on the date of easter, using Time::Local, i
>
> got the wrong answers for shrove tuesday 47 and ash
>
> Thanks, Matthew! I'd like to know how you found that. Google didn't help
> me.
> Duane
>
> On Dec 14, 2016, at 12:58 AM, Matthew Horsfall (alh) <wolfs...@gmail.com>
> wrote:
>
> On Wed, Dec 14, 2016 at 12:55 AM, Matthew Horsfall (alh)
> <wolfs...@gmai
ture-proof that way. Now, if I can add a destructor
> to the class 'version', maybe I can future proof that way, although I've
> tried that and failed. I think it might be a bug in the comparison logic
> (overloading?), but I can't find that code. Is that built into perl?
>
> Du
Module upgrades may not be likely, but I was responding to the first
question which was:
"...I suspect there are better methods that won't break with a future
version of IO::All."
On Tue, Dec 13, 2016 at 1:26 PM, Conor Walsh <c...@adverb.ly> wrote:
> On Tue, Dec 13, 2016 at
wer perl and conditionally add it to the package.
>
> Yes, our product is using scientific linux 6.3 which uses perl 5.10.x, and
> our customers and QA don't like hot fixes that replace nearly every RPM.
> In fact, they would probably prefer the memory leak.
>
> Duane
>
> On Dec 13
There is always a risk when working with the internals of another module.
I would minimize that risk by making sure that the DESTROY that you are
replacing always runs. Just in case something gets added to it. And
capture the reference to it in a way that will notice if DESTROY is
eliminated.
I didn't read those articles, but then they wouldn't have been aimed at me.
The only trick is that you have to load those modules and have an import
method that calls their import method. If you're exporting specific
functions into their namespace, the best way to do so is to import those
I've used Freshbooks for this in the past.
I am currently using the Hours Keeper app on my phone.
Both work well.
On Mon, Aug 31, 2015 at 8:15 PM, Adam Russell wrote:
> In addition to my full time job I do some consulting about 10-15 hours a
> week.Up until now I have
You can run it indefinitely. But do set up a cron to check that it is
running and restart at need.
This will make sure it is still there after a reboot or an unhappy run in
with the OOM killer.
On Wednesday, May 20, 2015, ja...@nova-sw.com wrote:
I'm running a small simple tcp udp monitoring
On Sun, Nov 2, 2014 at 8:02 AM, Bill Ricker bill.n1...@gmail.com wrote:
On Sun, Nov 2, 2014 at 10:14 AM, Greg London em...@greglondon.com wrote:
My experience has been that having a page instance be mangled
in some way to behave like a book is almost always going to be
a regrettable coding
On Sun, Nov 2, 2014 at 1:00 PM, Bill Ricker bill.n1...@gmail.com wrote:
On Sun, Nov 2, 2014 at 3:29 PM, Adam Russell ac.russ...@live.com wrote:
I've been doing OO for years with pure-OO type environments such as Ruby
Do smalltalkers accept Ruby's claims? Their native OO is more OO than
P5's
/Fixnum.html for details.
On Sun, Nov 2, 2014 at 3:18 PM, Bill Ricker bill.n1...@gmail.com wrote:
On Sun, Nov 2, 2014 at 5:39 PM, Ben Tilly bti...@gmail.com wrote:
Do smalltalkers accept Ruby's claims? Their native OO is more OO than
P5's (but we have choices), but is arithmetic really done with messages
I read the presentation. It is hard to know where to begin on
responding. There are a lot of true facts presented, and it all
sounds very clever. But the big picture is completely wrong.
Yes, there is overhead with arrays, and yes you over allocate space.
(My memory says 5/4, not by 2, but
Just so that you know, it is very hard to find a use case for linked
lists in Perl where a native array is not a better option. That said,
why draw a distinction between a node in a linked list and a linked
list? I would just have one class, that is a reference to a node.
(That itself might have
What our does is binds the package variable to lexical scope. So a
package after an our doesn't change the variable. But if you have the
our *after* the package then it will bind the correct package. So in
your eval put the package statement before our %map and you'll be
fine.
Incidentally if
see how to do this with a string eval, but I'm hoping to avoid
having to keep the functions as text strings.
If I can't find any other way, it's what I will have to fall back on, but
I'm hoping there's some way to avoid this.
Ricky
On Oct 29, 2014, at 2:56 PM, Ben Tilly bti...@gmail.com
I like the line where they say, You might recognize this problem as
intractable in general.
Yup, bin packing problem. Standard example of an np-complete problem.
On Sat, Sep 27, 2014 at 1:59 PM, Tom Metro tmetro+boston...@gmail.com
wrote:
Local company Vistaprint is running a programming
For a specific one-off specific task like this, I would assume that
would take more work to find and evaluate a module that solves my
problem than it would take to roll my own solution.
Heck, in this case you can arrange it as a map-reduce. Your initial
map takes each file, and spits out
If your module has an import method, and in that method calls
warnings-unimport(once) then the unimport should be lexically
scoped to where your package was used. Which in the normal case is
the whole file, so it works.
On Sat, May 4, 2013 at 2:07 PM, Jordan Adler jordan.m.ad...@gmail.com wrote:
On Wed, Apr 17, 2013 at 8:51 AM, Mike Small sma...@panix.com wrote:
Ben Tilly bti...@gmail.com writes:
On Wed, Apr 17, 2013 at 7:29 AM, Greg London em...@greglondon.com wrote:
Why use macros when you can write a function?
Lisp weenie answer: because the arguments to functions may produce
On Tue, Apr 16, 2013 at 4:02 AM, David Cantrell da...@cantrell.org.uk wrote:
On 15/04/2013 19:35, Ben Tilly wrote:
I'm writing some C++ at the moment that fits into the first group
(performance-critical code). For unit testing I've been emitting TAP
protocol and testing it with prove
On Tue, Apr 16, 2013 at 6:51 AM, Gyepi SAM gy...@praxis-sw.com wrote:
On Mon, Apr 15, 2013 at 11:35:22AM -0700, Ben Tilly wrote:
On Mon, Apr 15, 2013 at 11:09 AM, Greg London em...@greglondon.com wrote:
For unit testing I've been emitting TAP
protocol and testing it with prove
On Mon, Apr 15, 2013 at 11:09 AM, Greg London em...@greglondon.com wrote:
[...]
So, I've been doing verilog testbenches for years,
system verilog test benches for years, and they all
have their limtations as not being what I would call
a real language. So, I'm trying to write a testbench
in
On Wed, Apr 10, 2013 at 1:33 PM, Tom Metro tmetro+boston...@gmail.com wrote:
Greg London wrote:
[...]
Perl's bolt-on version of classes can fix this
about as easily as perl's closure stuff can fix it.
The closure version doesn't scale. You can't stick it in a library and
call it from
On Wed, Apr 10, 2013 at 1:53 PM, Bob Rogers rogers-...@rgrjr.dyndns.org wrote:
From: Gyepi SAM gy...@praxis-sw.com
Date: Wed, 10 Apr 2013 13:54:06 -0400
On Tue, Apr 09, 2013 at 10:24:45PM -0400, Bob Rogers wrote:
[...]
Because your example handles a single result, it is not clear
On Fri, Apr 5, 2013 at 8:22 PM, Jerrad Pierce belg4...@pthbb.org wrote:
at each level of recursion. What seems to be the case though is that when we
start going bac
up the stack that memory doesn't seem to be released at each pop. If, say, at
max depth
500mb of ram has been allocated I don't see
Pro tip. I've seen both push based systems and pull based systems at
work. The push based systems tend to break whenever the thing that
you're pushing to has problems. Pull-based systems tend to be much
more reliable in my experience.
You have described a push-based system. I would therefore
On Fri, Apr 5, 2013 at 12:04 PM, John Redford eire...@hotmail.com wrote:
Ben Tilly emitted:
Pro tip. I've seen both push based systems and pull based systems at
work. The
push based systems tend to break whenever the thing that you're pushing to
has problems. Pull-based systems tend
On Fri, Apr 5, 2013 at 6:03 PM, Conor Walsh c...@adverb.ly wrote:
On Apr 5, 2013 8:24 PM, Uri Guttman u...@stemsystems.com wrote:
as for your ram usage, all recursions can be unrolled into plain loops by
managing your own stack. this is a classic way to save ram and sub call
overhead. with
On Fri, Apr 5, 2013 at 6:39 PM, Bill Ricker bill.n1...@gmail.com wrote:
THEORY
Ever general computer science over-simplification has a BUT that is very
important.
Recursion is as efficient as iteration ...
... IF AND ONLY IF Tail Recursion Optimization is in effect.
When Tail Recursion is
On Fri, Jan 18, 2013 at 6:22 AM, Bill Ricker bill.n1...@gmail.com wrote:
On Fri, Jan 18, 2013 at 4:08 AM, Peter Vereshagin pe...@vereshagin.orgwrote:
Kind of intrigued: what's new or any changes on the book particularly?
A couple of the modules that he wrote for the book were best thinking
On Fri, May 4, 2012 at 11:41 AM, Uri Guttman u...@stemsystems.com wrote:
On 05/04/2012 02:07 PM, Federico Lucifredi wrote:
Pragmatic Programmers has just announced a book on distributed
programming in Ruby. Somewhat the possibility never occurred to me :)
I am wondering, is there some
Sounds like you're suffering from buffering:
http://perl.plover.com/FAQs/Buffering.html
The only way to solve your problem is to convince the program that it
should not buffer its output. Sometimes you'll have a command switch
you can hit to force that (particularly if you wrote those
For him to discuss it off list would be pointless because his emails
will bounce until he goes through the confirmation. At which point he
won't have spam to deal with.
That said, I understand Randal's position. It makes emails
inaccessible to anyone who doesn't see the bounce message for any
I've just finished 2 weeks of packaging a ton of CPAN modules into
rpms. Before that I had never touched the format. So I have some
recent very direct experience with packaging rpms, from the point of
view of a novice.
My first reaction is to ask why you would want this? To use it you
have to
I had missed that.
I suspect that for what I was doing it would have saved a lot of work
- except where it wouldn't.
On Sat, Jun 18, 2011 at 9:19 AM, Steve Scaffidi step...@scaffidi.net wrote:
Have you checked this out?
http://search.cpan.org/dist/CPANPLUS-Dist-RPM
--
-- Steve Scaffidi
the RPM one, but the dpkg one is decent. I *have* used
cpan2dist, which might actually use that module under-the-covers. I
recall it worked pretty well. on debian we have dh-make-perl which is
*quite* nice.
On Sat, Jun 18, 2011 at 12:24 PM, Ben Tilly bti...@gmail.com wrote:
I had missed that.
I
Try ^(?!.*pattern here)
On Wed, Mar 23, 2011 at 1:14 PM, Greg London em...@greglondon.com wrote:
I'm dealing with a perl gui tool that has a regular expression search tool.
The tool takes whatever is in the gui window and then does a regularexpre
ssion search through a bunch fo fields.
THe
On Tue, Mar 8, 2011 at 7:52 PM, Tom Metro tmetro-boston...@vl.com wrote:
Some code I'm working on is triggering an out of memory error, and I'd
like to figure out what specifically is responsible. (It's a complex
system with dozens of libraries and it runs in parallel across a cluster
of
On Wed, Feb 16, 2011 at 12:48 PM, Peter Wood pw...@christianbook.com wrote:
Hi Uri,
https is just http over an ssl socket with a different port than
http. you can use IO::Socket::SSL for that. but the problems you will
run into are wide and varied which is why LWP is so large. if you know
On Wed, Feb 16, 2011 at 1:19 PM, Conor Walsh c...@adverb.ly wrote:
On 2/16/2011 1:14 PM, Duane Bronson wrote:
Peter,
Interesting that the question how do I do X has no answer except don't
do
X. Engineers prefer to give flawless answers to flawless questions and
when the questions sound
You can get a good overview of what Moose does for you on a large
project from Ovid's blog where he discussed Moose as he was learning
it. Let me grab a few relevant entries:
http://use.perl.org/~Ovid/journal/38649
http://use.perl.org/~Ovid/journal/38662
http://use.perl.org/~Ovid/journal/38705
On Wed, Nov 3, 2010 at 8:42 AM, Brian Reichert reich...@numachi.com wrote:
On Tue, Nov 02, 2010 at 09:59:12PM -0400, Uri Guttman wrote:
why are you concerned about closing the DATA handle? it is internal to
the program. actually it is the handle the perl binary uses to read the
source file and
Check perlvar. It is the index of the last array element, which is
one less than the size.
@$Queue will give you the size in scalar context.
On Mon, Sep 27, 2010 at 5:28 PM, Greg London em...@greglondon.com wrote:
what the heck?
my $Queue = \...@somearray;
if ($#{$Queue} = -1){
# do
On Mon, Jul 19, 2010 at 2:01 PM, Uri Guttman u...@stemsystems.com wrote:
gack, this thread is annoying. so here are some high level philosophical
questions to think about regarding languages.
first off, why are there so many languages? and by many, i mean
thousands and more. how many of you
On Thu, Jul 15, 2010 at 8:57 AM, John Redford eire...@hotmail.com wrote:
[...]
Sadly, I cannot recommend a good book on JavaScript, which is a shame
because JavaScript is one of the best-designed languages ever. Perl is
actually a pretty good background to learn JavaScript, because it has a
On Wed, Jul 7, 2010 at 7:13 PM, Jerrad Pierce belg4...@pthbb.org wrote:
http://www.barcampboston.org/
Just missed #5, #6 is the weekend before tax day.
Interestingly, O'Reilly was a Media partner for #5. I say interesting
because I was under theimpression Bar was created in response to Foo's
On Wed, Jun 16, 2010 at 10:32 AM, Tom Metro tmetro-boston...@vl.com wrote:
I have some code with an anonymous sub that uses __ANON__ to set the sub
name in logging and error messages (a semi-documented trick) like:
sub {
local *__ANON__ = subname; # name the anon sub
On Sat, May 22, 2010 at 9:21 PM, Greg London em...@greglondon.com wrote:
Two unrelated perl queries.
First, I have a perl script that needs to pass in via command options a
filename that might include wildcards. This filename will be used by the
script at a later point, from a different
On Thu, May 6, 2010 at 1:16 PM, Laura Bethard betha...@nber.org wrote:
[...]
I'm not sure if the 3-day will cover what I need to know, and the 5-day is
pricey. I'd prefer a traditional class over an online one, but might
consider online with a solid recommendation. Anyone have any advice?
On Tue, Mar 30, 2010 at 1:31 AM, Tom Metro tmetro-boston...@vl.com wrote:
For those of you not on the BLU list, you might find this an interesting
read:
http://old.nabble.com/Dreamhost-account-hacked-td28062149s24859.html
Thanks. I thought that more people should hear about it so I put it
on
On Fri, Mar 19, 2010 at 11:07 AM, Conor Walsh c...@adverb.ly wrote:
I _am_ telling you I think exceptions are faster than other control
structures _In_ _Some_ _Cases_.
I'm happy to explain clarify if I am unclear.
I'm curious.
Maybe I'm out of my depth, pun not intended, but I was under
On Fri, Mar 19, 2010 at 2:31 PM, Greg London em...@greglondon.com wrote:
In a desktop environment this makes sense. However in some other
contexts, such as real time embedded programming, it likely doesn't.
And the issue there is the difference between average running time and
worst case
On Mon, Oct 19, 2009 at 2:17 PM, Bogart Salzberg webmas...@inkfist.com wrote:
Mongers,
I recently encountered a puzzling dilemma. You might find it interesting, or
obvious (probably not both) and it leads to a question about how perl
handles signals.
[...]
perldoc perlipc
Search for
On Fri, May 22, 2009 at 8:22 AM, Uri Guttman u...@stemsystems.com wrote:
SB == Samuel Baldwin shardz4...@gmail.com writes:
SB A bit of a side question; when would you ever want to try and match an
SB empty regex? Wouldn't it be semantically saner to use defined?
i did mention a common use
On Tue, Apr 14, 2009 at 10:19 AM, Uri Guttman u...@stemsystems.com wrote:
RW == Ricker, William william.ric...@fmr.com writes:
RW We got this thru the Leaders' lists. That's a busy weekend. Maybe Uri,
RW Ron and I will draw straws ...
i would prefer to draw a gallon of blood! not much
On Mon, Apr 6, 2009 at 4:42 AM, David Cantrell da...@cantrell.org.uk wrote:
On Thu, Apr 02, 2009 at 10:31:29PM -0400, Federico Lucifredi wrote:
True, but I have not yet done a single animated slide in my life.
Bullets, code and occasionally pictures slapped on a background are all
I need. If
On Mon, Apr 6, 2009 at 7:59 AM, Palit, Nilanjan
nilanjan.pa...@intel.com wrote: From: Ben Tilly Sent: Monday,
April 06, 2009 10:34 AM
Personally I don't like the way that Powerpoint is used because it
encourages oversimplification. Also I think that spending great
energy on fancy
On Mon, Apr 6, 2009 at 12:25 PM, Palit, Nilanjan
nilanjan.pa...@intel.com wrote:
From: Ben Tilly [mailto:bti...@gmail.com]
Sent: Monday, April 06, 2009 11:59 AM
It appears that you didn't read what I wrote, then launched a rant
that would be better aimed at someone else.I say this because I
On Fri, Apr 3, 2009 at 1:18 PM, Jerrad Pierce belg4...@pthbb.org wrote:
I dunno about platypus versatility so much as contentder for
designed by committee, but I opted not to proffer it earlier
because it's the mascot of DarwinOS (OSS OSX core).
http://www.gnu-darwin.org/
Definitely cute
Please note that OSCON spent several years in Portland. Saying that
Portland is part of Boston is like saying that Boston is part of New
York.
Ben
On Thu, Apr 2, 2009 at 6:33 PM, Andrew Langmead
andrew.langm...@verizon.net wrote:
On Thu, 2009-04-02 at 21:42 -0400, Tom Metro wrote:
Do you
Gah, I meant that Portland is part of CA is like..etc. (I should
drink less before replying to email.)
Ben
On Thu, Apr 2, 2009 at 8:12 PM, Ben Tilly bti...@gmail.com wrote:
Please note that OSCON spent several years in Portland. Saying that
Portland is part of Boston is like saying
On Thu, Apr 2, 2009 at 7:39 PM, Andrew Langmead
andrew.langm...@verizon.net wrote:
On Thu, 2009-04-02 at 20:12 -0700, Ben Tilly wrote:
Please note that OSCON spent several years in Portland.
I had forgotten that they moved to Portland. I guess its been years
since I've even considered
On Sun, Oct 26, 2008 at 10:21 AM, Tolkin, Steve [EMAIL PROTECTED] wrote:
The following is just a problem in computer science. It is not directly
related to Perl, or to my work. I am looking for insights in how to
think about this.
The input: a list of words.
The output: a partitioning of
On Sun, Oct 26, 2008 at 5:05 PM, Ben Tilly [EMAIL PROTECTED] wrote:
On Sun, Oct 26, 2008 at 10:21 AM, Tolkin, Steve [EMAIL PROTECTED] wrote:
The following is just a problem in computer science. It is not directly
related to Perl, or to my work. I am looking for insights in how to
think about
On Tue, Sep 30, 2008 at 1:02 PM, Uri Guttman [EMAIL PROTECTED] wrote:
SS == Steve Scaffidi [EMAIL PROTECTED] writes:
SS The hardest part is cleaning up after the frequent core-dumps. ;)
he posted that the initial core dumps were the worst! :)
While the initial was worse, HE wasn't the one
On Wed, Jul 30, 2008 at 11:42 AM, Ranga Nathan [EMAIL PROTECTED] wrote:
Before I go ahead and do something screwy, I thought to ask the public what
they do in this case. I realize that one of the children would get the
message indicating the changes. If it updates the data structure in memory
On Wed, Jul 30, 2008 at 3:33 PM, Tom Metro [EMAIL PROTECTED] wrote:
Ben Tilly wrote:
But you'll probably want a plain text file to be written out somewhere
in the background to preserve data across server restarts.
I think the OP is referring to a typical scenario where you update
On Tue, Jul 15, 2008 at 11:11 AM, Christopher Schmidt
[EMAIL PROTECTED] wrote:
On Tue, Jul 15, 2008 at 10:52:45AM -0700, Ben Tilly wrote:
On Tue, Jul 15, 2008 at 9:01 AM, Christopher Schmidt
[EMAIL PROTECTED] wrote:
For the record, the problem you're trying to solve is probably something
On Thu, Jun 12, 2008 at 7:40 PM, Bob Rogers [EMAIL PROTECTED] wrote:
From: Ben Tilly [EMAIL PROTECTED]
Date: Thu, 12 Jun 2008 18:33:36 -0700
On Thu, Jun 12, 2008 at 4:01 PM, Bob Rogers wrote:
. . . You can even run code at read time, when the program is being
parsed
On Thu, Jun 12, 2008 at 4:01 PM, Bob Rogers [EMAIL PROTECTED] wrote:
[...]
Lisp goes even farther down the road of blurring the boundary between
interpreter and compiler than Perl does. You can even run code at read
time, when the program is being parsed by the compiler (or interpreter).
Some
I feel your pain. On a project last summer my need to interact with
WSDL caused me to switch from Perl to Java.
But http://use.perl.org/article.pl?sid=08/04/10/0128226 suggests that
XML::Compile may now be able to help. There are probably bugs to work
out, but at least there is a chance of it
On Fri, Mar 21, 2008 at 8:01 PM, Guillermo Roditi [EMAIL PROTECTED] wrote:
How do you define contribute? Does it include submitting bug reports
that do not contain source code?
What I had in mind involved source code, but I did not mean to write
off the work of bug reporters. I
On Jan 29, 2008 10:57 AM, David Golden [EMAIL PROTECTED] wrote:
On Jan 29, 2008 12:11 PM, Tolkin, Steve [EMAIL PROTECTED] wrote:
I want to reconstruct the underlying list. In other words the order of
the elements agrees in all the lists, but there is no sort condition.
Example:
List 1:
On Dec 22, 2007 5:17 AM, Tom Metro [EMAIL PROTECTED] wrote:
I recently listened to some (old) Perlcast news segments by Randal
Schwartz and each time he mentioned the TPF grants - talking about what
grants were recently awarded and how to apply for them.
I wasn't aware that anyone could
On 11/12/07, Alex Brelsfoard [EMAIL PROTECTED] wrote:
Hey all,
I know this is not so much a JavaScript group, but I figured someone
might have heard of what I am running into.
If not, feel free to ignore this message.
Situation:
I am using JavaScript to create an image.
It needs to be
On 9/12/07, Bob Rogers [EMAIL PROTECTED] wrote:
On 9/11/07, Bob Rogers [EMAIL PROTECTED] wrote:
From: Ben Tilly [EMAIL PROTECTED]
[...]
That said, know your audience. Using functional techniques in Perl
should be a deliberate decision. In many programming groups, I'd
On 9/11/07, Palit, Nilanjan [EMAIL PROTECTED] wrote:
So I tried this using the following code, where %format_conv has an
entry for each type of conversion needed with a list of items:
[...]
When I run it, the 'defined' part works fine, but I get an error on the
last line:
Can't use string
On 9/11/07, Palit, Nilanjan [EMAIL PROTECTED] wrote:
[...]
It is very bad form to use map as a looping construct.
Can you elaborate why it is a bad form: readability, performance, ...?
Just want to understand the underlying reason. (To me, both the for
map inline forms appear to be the same
On 8/14/07, Kenneth A Graves [EMAIL PROTECTED] wrote:
On Tue, 2007-08-14 at 11:07 -0400, john saylor wrote:
hi
On 8/14/07, Ronald J Kimball [EMAIL PROTECTED] wrote:
Or would people rather do something
on the weekend?
i attend so infrequently, i do not expect my preference to carry
On 6/15/07, Charlie Reitzel [EMAIL PROTECTED] wrote:
Hi All,
I'm looking for a Perl module to do process management. We're building a
test harness and need to fire up a number of client traffic generators and
wait for them all to finish.
Do you want them all to be running at once?
A
On 6/8/07, Gyepi SAM [EMAIL PROTECTED] wrote:
On Fri, Jun 08, 2007 at 03:26:56PM -0400, Alex Brelsfoard wrote:
I have a CSV file where each line may NOT have the same number of fields.
One item per line.
xSV is line oriented: as long as each line is well formed it should be parsed
On 5/20/07, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
BT The purpose of using goto there is in case some code uses caller() and
BT could get confused about the extra subroutine. (For instance Carp
BT would be likely to warn at the enclosing
On 5/17/07, Tom Metro [EMAIL PROTECTED] wrote:
Greg London wrote:
Evals and typeglobs will let you do it.
If you don't like that sort of thing (I don't),
you can use a module I wrote called SymbolTable
which hides all the ugliness for you.
Thanks Greg for taking the time to ponder this,
On 5/18/07, Tom Metro [EMAIL PROTECTED] wrote:
Ben Tilly wrote:
[...]
Also note that AUTOLOAD and inheritance do NOT play well together.
That's another reason to avoid that solution.
I had that thought as well. Isn't there a workaround where your AUTOLOAD
handler can explicitly hand off
On 5/18/07, Greg London [EMAIL PROTECTED] wrote:
sub replace_sub_for_instance {
my ($object, $subroutine_name, $new_subroutine) = @_;
no strict 'refs';
my $old_subroutine = \$subroutine_name
or die Subroutine $subroutine_name not found;
my $object_name =
On 5/18/07, Greg London [EMAIL PROTECTED] wrote:
[...]
You're looking at the wrong part of the code. I'm referring to how I
made sure to capture refaddr before creating the anonymous sub so that
the anonymous sub did not have $object in it anywhere. That keeps
$object from being in the
On 2/22/07, Bobbi Fox [EMAIL PROTECTED] wrote:
Those who were at the last boston.pm meeting may recall my asking if there
was some place where I could find out about various open-source
not-necessarily-perl-based blog/wiki/forum software.
People kindly threw out some names of OS stuff they
It looks to me like a bug.
Your expectation of the expansion looks correct to me, and on Linux I
get the behaviour that you wanted from /bin/bash, /bin/sh (links to
bash) and /bin/csh (links to /bin/tcsh).
It is remotely possible that there is some real csh that disagrees,
but if so then I'd
On 2/1/07, Uri Guttman [EMAIL PROTECTED] wrote:
js == john saylor [EMAIL PROTECTED] writes:
[...]
js wtf! it sure ain't ruby. it's still perl that's executing within
js apache. it is certainly a different context than what you may be used
js to- but you could say that about windows perl
On 2/1/07, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
BT At this point mod_perl's memory usage scales quite well. In fact any
BT alternate platform serving the same load will have similar issues at
BT similar volume for the same reasons. The only
On 11/15/06, Carl Eklof [EMAIL PROTECTED] wrote:
Hi Guys n Gals,
I have found some seemingly strange behavior that may
be of interest to this list.
My assumption was that the \b pattern in a regex would
always match the beginning and end of a string (as
documented in the perlre page).
On 11/5/06, Bill Ricker [EMAIL PROTECTED] wrote:
I am a firm believer in expressing things in the most straightforward
way possible. Most people find loops straightforward, so I'm happy to
use loops unless I have a good reason not to.
Most *people* find loops and all other programming
On 10/29/06, Bob Rogers [EMAIL PROTECTED] wrote:
From: Ben Tilly [EMAIL PROTECTED]
Date: Sat, 28 Oct 2006 09:25:32 -0700
[...]
Ummm...you've mixed three unrelated things together.
1. Continuations.
2. Closures.
3. Tail call elimination
On 10/27/06, Bob Rogers [EMAIL PROTECTED] wrote:
From: Ben Tilly [EMAIL PROTECTED]
Date: Thu, 26 Oct 2006 19:36:36 -0700
On 10/26/06, Bob Rogers [EMAIL PROTECTED] wrote:
From: Ben Tilly [EMAIL PROTECTED]
Date: Thu, 26 Oct 2006 17:09:35 -0700
On 10/27/06, Tolkin, Steve [EMAIL PROTECTED] wrote:
Dear Ben, Bob et al.,
Thanks for this thread. (It has a very high signal to noise
ratio, compared with many others.)
Dear Everyone,
Since this started about Python, in a Perl discussion list, I am
wondering about whether
On 10/26/06, Bob Rogers [EMAIL PROTECTED] wrote:
From: Ben Tilly [EMAIL PROTECTED]
Date: Thu, 26 Oct 2006 17:09:35 -0700
On 10/26/06, Bob Rogers [EMAIL PROTECTED] wrote:
From: Tom Metro [EMAIL PROTECTED]
[...]
Guido made comparisons to Perl only in two areas
On 10/24/06, Bob Rogers [EMAIL PROTECTED] wrote:
From: Tom Metro [EMAIL PROTECTED]
Date: Mon, 23 Oct 2006 03:01:39 -0400
I recently listened to:
Guido van Rossum: Building an Open Source Project and Community
On 10/24/06, Bob Rogers [EMAIL PROTECTED] wrote:
From: Ben Tilly [EMAIL PROTECTED]
Date: Tue, 24 Oct 2006 17:12:53 -0700
On 10/24/06, Bob Rogers [EMAIL PROTECTED] wrote:
From: Tom Metro [EMAIL PROTECTED]
Date: Mon, 23 Oct 2006 03:01:39 -0400
On 6/23/06, David Cantrell [EMAIL PROTECTED] wrote:
On Fri, Jun 23, 2006 at 09:23:09AM -0400, Ted Zlatanov wrote:
On 23 Jun 2006, [EMAIL PROTECTED] wrote:
Wasn't there a C grammer for Parse::RecDescent ?
Not that worked. Damian has acknowledged elsewhere that it shouldn't
have been
1 - 100 of 183 matches
Mail list logo