I'll be in town early next year and would like to meet some of the locals.
Exact dates have not been nailed down yet, but I should be in Boston
from January 14-21 or so. If a boston.pm meeting could happen in that
time, I'd be interested in going. If nothing official happens, I'd be
up for
On Fri, 12 Nov 2004 07:38:57 -0500, Gyepi SAM [EMAIL PROTECTED] wrote:
On Fri, Nov 12, 2004 at 02:11:37AM -0500, Aaron Sherman wrote:
[...]
I think mmap would be just as ideal in Perl and a lot less work too.
Rather than indexing and parsing a *large* file, you must mmap
and parse it. In fact,
On Fri, 12 Nov 2004 10:05:27 -0500, Uri Guttman [EMAIL PROTECTED] wrote:
GS == Gyepi SAM [EMAIL PROTECTED] writes:
[...]
this talk about mmap makes little sense to me. it may save some i/o and
even some buffering but you still need the ram and mmap still causes
disk accesses.
Um, mmap does
On Fri, 12 Nov 2004 23:04:46 -0500, Aaron Sherman [EMAIL PROTECTED] wrote:
On Fri, 2004-11-12 at 13:22 -0800, Ben Tilly wrote:
[...]
Um, mmap does not (well should not - Windows may vary) use any
RAM
You are confusing two issues. using RAM is not the same as allocating
process address
On Sat, 13 Nov 2004 17:43:37 -0500, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
BT How was I confusing issues? What I meant is that calling mmap does
BT not use significant amounts of RAM. (The OS needs some to track
BT that the mapping exists
On Mon, 15 Nov 2004 15:58:11 -0500, Aaron Sherman
[EMAIL PROTECTED] wrote:
On Sat, 13 Nov 2004 11:40:25 -0800, Ben Tilly [EMAIL PROTECTED] wrote:
On Fri, 12 Nov 2004 23:04:46 -0500, Aaron Sherman [EMAIL PROTECTED] wrote:
On Fri, 2004-11-12 at 13:22 -0800, Ben Tilly wrote:
[...]
Um
On Mon, 15 Nov 2004 18:46:15 -0500 (EST), Dan Sugalski [EMAIL PROTECTED]
wrote:
On Mon, 15 Nov 2004, Ben Tilly wrote:
On Mon, 15 Nov 2004 15:58:11 -0500, Aaron Sherman
[EMAIL PROTECTED] wrote:
On Sat, 13 Nov 2004 11:40:25 -0800, Ben Tilly [EMAIL PROTECTED] wrote:
On Fri, 12 Nov 2004
As I said before, I'll be in Boston for part of January. January 19
would be particularly convenient for me to meet with Boston.pm people.
If it is another time I could try to make it (but probably won't
succeed). But I'll need a basic plan soonish because my access to a
computer will be spotty
On Mon, 27 Dec 2004 16:36:38 -0800, Palit, Nilanjan
[EMAIL PROTECTED] wrote:
I wanted to know if there are any limitations to the max key length used
for hashes in Perl. Also, what are the performance implications, if any,
of using long keys? I have an application that needs key lengths in the
On Tue, 28 Dec 2004 13:01:28 -0500, Ronald J Kimball
[EMAIL PROTECTED] wrote:
On Sun, Dec 19, 2004 at 11:35:45PM -0800, Ben Tilly wrote:
As I said before, I'll be in Boston for part of January. January 19
would be particularly convenient for me to meet with Boston.pm people
On Wed, 29 Dec 2004 10:49:19 -0500, Aaron Sherman [EMAIL PROTECTED] wrote:
On Tue, 2004-12-28 at 13:46, Ian Langworth wrote:
On 28.Dec.2004 01:14AM -0500, Tom Metro wrote:
If you are concerned about the performance impact of long
keys, and your application fits a write-once, read-many
On Wed, 29 Dec 2004 13:13:22 -0800, Palit, Nilanjan
[EMAIL PROTECTED] wrote:
Folks,
Thanks for the good ideas the performance discussion. I'll try out the
different suggestions.
Now, regarding Tom Metro's original suggestion for using an MD5 Digest:
I read that the original MD5 algorithm
On Wed, 29 Dec 2004 18:54:41 -0500, Tom Metro [EMAIL PROTECTED] wrote:
Ben Tilly wrote:
That said, the suggestion of using MD5 keys is a non-starter for
eliminating the performance issue. Calculating an MD5 hash of a
string of length n is O(n).
The qualifier I added to my suggestion
On Wed, 29 Dec 2004 23:16:24 -0500, Jeff Finn [EMAIL PROTECTED] wrote:
hey all,
I have a group of files in a directory on a linux box where the file names
are either encoded with utf-8 or shift_jis. Unfortunately, not knowing
japanese, I have no idea which is which. Is there a way to go
On Thu, 30 Dec 2004 18:02:07 -0500, Aaron Sherman [EMAIL PROTECTED] wrote:
On Wed, 2004-12-29 at 18:10, Ben Tilly wrote:
Under normal circumstances, to get non-miniscule odds of having
a collision somewhere between MD5 keys, you'd need about 2**64
keys. If you have less than, say
I'll be in New England from Jan 3 through Jan 22. It would be
extremely nice for me to have a portable fridge so that I can keep my
son's food in my hotel room. I'd rather not buy one for just a few
week stay.
If anyone has a fridge that they can lend me for that period, please
get back to me
On Fri, 31 Dec 2004 01:53:31 -0500, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
BT I said New England for a reason. I'll be in a number of hotels and a
BT number of states. While I'd expect some hotels to work out, I don't
BT think that I should
On Fri, 31 Dec 2004 01:30:46 -0500, Sean Quinlan [EMAIL PROTECTED] wrote:
[...]
In honor of Ben's visit I hereby propose a social event for Sun the 19th
of Jan at say 7pm. any interesting new suggestions for a location? Given
the season the closer to a T station the better. And of course a good
On Fri, 31 Dec 2004 02:26:44 -0500, Sean Quinlan [EMAIL PROTECTED] wrote:
On Fri, 2004-12-31 at 02:05, Ben Tilly wrote:
Sunday? (Checks quickly.) I'll try to make the next Sun the 19th
of Jan in 2014 if I'm around.
DOH! Right my calendar is still on Dec. That's my cue I should have been
On Fri, 31 Dec 2004 11:58:09 -0500, Sean Quinlan [EMAIL PROTECTED] wrote:
On Fri, 2004-12-31 at 11:43, Ronald J Kimball wrote:
Sorry for the inconvenience! If we can quickly select an alternate day
for Jan I'll try to get it scheduled ASAP.
How about a technical meeting on Tuesday, Jan
On Tue, 08 Mar 2005 22:37:29 -0500, William Goedicke
[EMAIL PROTECTED] wrote:
Dear Tom -
I've thought a lot about why perl hasn't gained respect in the
deployment/hiring marketplace.
Tom == Tom Metro [EMAIL PROTECTED] writes:
Tom This reminded me of something I've wondered about
On Thu, 20 Jan 2005 16:16:24 -0500, Ronald J Kimball
[EMAIL PROTECTED] wrote:
Fifteen Perl Mongers braved the cold last night to attend our Social
Meeting at Fire+Ice in Harvard Sq., including our guest of honor, Ben
Tilly. We ate lots of food, told bad jokes, and discussed Perl mind share
On Sat, 12 Feb 2005 14:38:23 -0500, Joel Gwynn [EMAIL PROTECTED] wrote:
Thanks for your response. See below
[...]
6. what has changed since that installation?
I can't think of anything. I may have upgraded something using apt-get
My recollection says that Debian likes to place the
modules
On Mon, 14 Feb 2005 03:39:21 -0500, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
BT My recollection says that Debian likes to place the
BT modules that it installs in /usr/lib while the ones
BT that you install go into /usr/local/lib. Guess which
On Mon, 14 Feb 2005 10:37:03 -0500, Ricker, William
[EMAIL PROTECTED] wrote:
doesn't support Module::Build so any modules
Ouch
iirc even if they have a compatibility Makefile.PL.
Double ouch. Maybe it needs a patch.
Thanks for the warning, that may put me off adopting Module::Build.
On Tue, 15 Feb 2005 06:24:51 + (GMT), Simon Wilcox
[EMAIL PROTECTED] wrote:
On Mon, 14 Feb 2005, Ben Tilly wrote:
I've also been told that Module::Build doesn't do a good job for
people who want to install a module into a personal directory -
it tries to install it into the system
On Fri, 25 Feb 2005 09:04:51 -0500, James Linden Rose, III
[EMAIL PROTECTED] wrote:
On Friday, February 25, 2005, at 08:28 AM, Tolkin, Steve wrote:
I think this is the best point that has been advanced in favor of using
perl:
Amazon, Google, Yahoo, Morgan Stanley all use Perl in
On Fri, 25 Feb 2005 15:51:46 -0500, James Linden Rose, III
[EMAIL PROTECTED] wrote:
On Friday, February 25, 2005, at 03:04 PM, Alex Brelsfoard wrote:
I think part of the problem is that it is an open source system that
doesn't have a fund for advertising. I think if we simply saw some
On Fri, 25 Feb 2005 19:18:54 -0500, Bogart Salzberg
[EMAIL PROTECTED] wrote:
On Feb 25, 2005, at 6:08 PM, Alex Brelsfoard wrote:
Ideas?
How about an alliance with Apple? Ditch AppleScript and replace it with
Perl, marry Perl to a GUI and turn Mac users into Perl-hacking
sysadmins.
Ruby is easier for Perl people to get into than Haskell. By the same
token, learning Ruby will expand your horizons less than Haskell.
Which is preferable depends on your point of view.
Cheers,
Ben
On Mon, 28 Feb 2005 13:49:59 -0500, Benjamin Kram [EMAIL PROTECTED] wrote:
I just grabbed
On Mon, 28 Feb 2005 16:04:34 -0500, Tom Metro [EMAIL PROTECTED] wrote:
Sean Quinlan wrote:
[...]
If Amazon, Yahoo, Ticketmaster, etc. are already using Perl in a big
way, then why not put effort into making that more visible?
One way is through a silly button campaign. Built with Perl,
I'd start with http://www.oreilly.com/oreilly/author/intro.html.
Cheers,
Ben
On Tue, 01 Mar 2005 01:52:29 +, Federico Lucifredi
[EMAIL PROTECTED] wrote:
Hello fellow Mongers,
I have a bookish request: does anybody have an editorial contact at O'Reilly
I can exchange a few ideas with? I
On Tue, 1 Mar 2005 16:02:08 -0500, Adam Turoff [EMAIL PROTECTED] wrote:
On Mon, Feb 28, 2005 at 03:39:30PM -0500, Gyepi SAM wrote:
It must be: I am using LISP, after a long hiatus, and really liking it. I
simply did not appreciate its power upon introduction six years ago.
Yep. I never
On Tue, 1 Mar 2005 18:01:13 -0500, Gyepi SAM [EMAIL PROTECTED] wrote:
On Tue, Mar 01, 2005 at 03:16:06PM -0500, Duane Bronson wrote:
[...]
I don't know of any CPAN distributions. However, if you are on an RPM based
system, you might try my ovid program
On Tue, 01 Mar 2005 23:35:40 +, Federico Lucifredi
[EMAIL PROTECTED] wrote:
Hello Uri,
I have a bookish request: does anybody have an editorial contact at
O'Reilly I can exchange a few ideas with? I am cooking a proposal
for them and I need a few tips here and there.
BT
On Tue, 1 Mar 2005 14:55:58 -0600 (CST), Alex Brelsfoard
[EMAIL PROTECTED] wrote:
My impression is that the language which is making the most
inroads on traditional Perl areas is PHP. Is that because of the
wonderful certifications that PHP has which Perl doesn't? Or is
it because PHP is
On Thu, 03 Mar 2005 00:50:34 +, Federico Lucifredi
[EMAIL PROTECTED] wrote:
Hey Ben,
How do you feel when you have a nice process in place through
which people are supposed to contact you, and customers keep on
persisting in trying to get direct numbers to inside contacts? I tend
On Thu, 3 Mar 2005 14:46:19 -0500 (EST), Greg London
[EMAIL PROTECTED] wrote:
Chris Devers said:
I think it would be nice if Perl were more popular. I don't think
advocacy is a bad thing. I don't think certification, or courses, are
unreasonable. But of the ways I can think of to make
On Mon, 7 Mar 2005 08:22:04 -0800, Palit, Nilanjan
[EMAIL PROTECTED] wrote:
-Original Message-
From: Greg London [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 11:17 AM
As for the triple-plus operator ;)
I'd think perl would take x, do a ++ on it,
get 2, and then
On Mon, 07 Mar 2005 08:36:56 -0500, Aaron Sherman [EMAIL PROTECTED] wrote:
On Mon, 2005-03-07 at 01:51 -0500, James Freeman wrote:
[...] If you know more trivia
than I do (I've yet to see that), then I would hire you on the spot.
Let's turn this into, Let's try to stump Aaron!
Here are a
On Tue, 8 Mar 2005 14:02:47 -0500 (EST), Chris Devers [EMAIL PROTECTED] wrote:
[...]
Similarly -- and this way lies madness, I admit up front -- just run the
script on a system that can use AppleScript or COM (or WSH or whatever
it is, I'm not a Windows programmer) to just automate interacting
On Mon, 21 Mar 2005 08:04:31 -0600 (CST), [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I've seen programs that can monitor your keystrokes and mouse clicks, etc,
in order to replay them against the operating system. Does perl have the
ability to do something like that?
Yes.
The purpose of my
On Mon, 21 Mar 2005 17:49:45 -0800, Ranga Nathan [EMAIL PROTECTED] wrote:
You would use Windows Scripting tool for that. Check-out WSH (Windows
Scripting Host).
There are many macros that do just that and as it was pointed out, this
has caused many security exploitations in windows.
And now
!
__
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591 Fax: 714-442-2840
Bob Rogers [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
03/21/2005 07:03 PM
To
Ben Tilly
On Tue, 22 Mar 2005 19:02:51 +, David Cantrell
[EMAIL PROTECTED] wrote:
On Mon, Mar 21, 2005 at 06:21:38PM -0800, Ben Tilly wrote:
[...]
A fun issue is popups. Everything works fine and then someday
there is an unexpected error and a popup stops everything in its
tracks. Sure, you can
Be aware that IO::Tee has limitations. It only works for output that
goes through Perl's IO system. In particular if your program makes
a system call, the child process will NOT see the tee.
Cheers,
Ben
On 5/9/05, Duane Bronson [EMAIL PROTECTED] wrote:
If it's Unix-only, you can open (tee
On 5/9/05, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
BT Be aware that IO::Tee has limitations. It only works for output that
BT goes through Perl's IO system. In particular if your program makes
BT a system call, the child process will NOT see
On 5/9/05, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
BT On 5/9/05, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
BT Be aware that IO::Tee has limitations. It only works for output that
BT goes through
On 5/10/05, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
[...]
BT Maintainability is more important than optimization. I often use
BT this strategy for maintainance reasons. Going full-cycle, one way
BT to accomplish all of this without changing code
On 5/11/05, John Tsangaris [EMAIL PROTECTED] wrote:
I was asked to provide the 73 occurrence of a sequence of numbers, with
the numbers 12345. Each number can be used only once, and there are a
possible 120 combinations.
I was called by a client to figure this out for them, since one of
On 6/8/05, Alex Brelsfoard [EMAIL PROTECTED] wrote:
I know I asked a similar question a while back, but I'm compelled to try
again.
I have an existing script, not using CGI to take in parameters handed to the
script. I would now like to have this script upload a file to the server, but
On 6/8/05, Mark J. Dulcey [EMAIL PROTECTED] wrote:
Alex Brelsfoard wrote:
I know I asked a similar question a while back, but I'm compelled to try
again.
I have an existing script, not using CGI to take in parameters handed to the
script. I would now like to have this script upload a
On 6/16/05, Joel Gwynn [EMAIL PROTECTED] wrote:
[...]
When you get right down to it, this Boston neighborhood thing is
just confusing. I work in Dorchester but management likes to put
Boston on the stationary, which is confusing because there's an
identical address in Boston proper, just with
On 7/18/05, Uri Guttman [EMAIL PROTECTED] wrote:
KS == Kripa Sundar [EMAIL PROTECTED] writes:
KS Dear Uri,
[...] subs can come into existance any time and be
handled by AUTOLOAD and such. so there is no easy compile time way to
check that at the moment. [...]
KS It is the
On 8/9/05, Ronald J Kimball [EMAIL PROTECTED] wrote:
On Tue, Aug 09, 2005 at 09:07:16PM -0700, Stephen A. Jarjoura wrote:
[...]
Did I miss some obvious, and easier method?
Basically, you need a loop. s///g allows you to hide the loop, but is less
efficient because you're updating the
On 8/15/05, Ricker, William [EMAIL PROTECTED] wrote:
[...]
CGI::Prototype offers a _different_ way of factoring out the you always
had to write this glue code code. Catalyst uses the Perl Attributes
annotations to factor out glue-code, which is classy demonstration that
attributes are a good
On 8/15/05, Kripa Sundar [EMAIL PROTECTED] wrote:
Dear Ben,
another bad point about eval is that it can access and modify lexicals
and globals anywhere in the code. so that can lead to action at a
distance and very hard to find bugs.
[...]
I'm not sure if this is what is
On 8/16/05, Tim King [EMAIL PROTECTED] wrote:
Ben Tilly wrote:
I agree that using eval here is wrong. But I still
don't see action at a distance.
You can argue about whether it is action at a distance, but you
have tight coupling between the internals of make_generator
and the string
On 10/6/05, Jeremy Muhlich [EMAIL PROTECTED] wrote:
Has anyone here written a serious threaded server in perl? I can't seem
to find any threads + sockets examples anywhere. I have some stuff
working with Thread::Pool but there are problems. (I can elaborate if
anyone wants me to...)
Why
On 10/6/05, Jeremy Muhlich [EMAIL PROTECTED] wrote:
On Thu, 2005-10-06 at 18:36 -0400, Uri Guttman wrote:
even the people who wrote the threads code in perl disavow them, so i
wouldn't even try to do any heavy threading in perl. instead i recommend
an event loop server which is stable,
On 10/6/05, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
BT On 10/6/05, Jeremy Muhlich [EMAIL PROTECTED] wrote:
[...]
BT You can do this with an event loop and multiple processes.
BT The RPC server doesn't make RPC calls. Instead it sends a message
On 10/6/05, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
you don't even need children to do non-blocking rpc calls. if you do the
protocol yourself and it is over a socket (as it should be), you can do
async rpc calls. but if you are using a typical
On 10/19/05, Ranga Nathan [EMAIL PROTECTED] wrote:
I need to check ftp logs (see below) for successful transfer of files.
This is a bash script someone else wrote and I need to modify it. I want
to use a Perl style regex like
/^125.*?baxp\.caed.*?\n250/i
in any ?grep or sed or awk
On 10/26/05, Sherm Pendley [EMAIL PROTECTED] wrote:
On Oct 26, 2005, at 11:15 AM, Tom Metro wrote:
I've often wondered if this greater power in mod_perl has been a
hindrance rather than a help to the Perl web development community.
Would we have been better off if, in addition to mod_perl
On 11/18/05, John Macdonald [EMAIL PROTECTED] wrote:
On Fri, Nov 18, 2005 at 04:16:18PM -0500, Uri Guttman wrote:
[...]
However, as I recall, NT was being developed for the Alpha at
one point - I think it was available commercially for a while
and not just internal to MS. Not to surprising,
On 12/6/05, Alex Brelsfoard [EMAIL PROTECTED] wrote:
Does anyone who has/does use GD::Graph know if there's an easy way to embed
the output graphs into HTML.
Basically I'd like to be able to print a bunch of HTML, then the graph, then
some more HTML.
I've got the grph coming out all fine and
On 12/13/05, Aaron Sherman [EMAIL PROTECTED] wrote:
On Mon, 2005-12-12 at 16:44 -0500, Uri Guttman wrote:
DL == Donald Leslie {74279} [EMAIL PROTECTED] writes:
DL I have an apache/mod-perl application that can results in large
DL xml strings which are then transformed by xslt into
On 12/20/05, Federico Lucifredi [EMAIL PROTECTED] wrote:
Hello Guys,
More Perl Style lessons for me, if anyone wants to chip in. Following
is the script on the chopping block today - in the comments the parts
that I did not manage to elegantize as much as I wanted.
use Term::ANSIColor
Didn't we just have this discussion?
It is extremely hard for pre-extending strings to result in actual
performance improvements, and at best you can get a very small win in
return for a lot of work. In fact the extra effort of having to track
where you are in the string manually almost
On 2/20/06, Bob Rogers [EMAIL PROTECTED] wrote:
From: Ranga Nathan [EMAIL PROTECTED]
[...]
On the other hand, doing nice -n-1 myscript would run it at a
slightly higher-than-default priority, which might allow it to swap in
more quickly when the workload picked up. This would work best
On 2/21/06, Uri Guttman [EMAIL PROTECTED] wrote:
JM == John Macdonald [EMAIL PROTECTED] writes:
[...]
JM Of course, detecting that a log switch of some sort has occurred
JM doesn't ensure that you will be able to tell if more than one
JM has occurred very quickly (from your frame of
This is not nearly as simple as people think.
Text::CSV can do it, but the example code in the documentation isn't
right. (It won't handle embedded returns.) Text::CSV_XS does do it
correctly out of the box with its getline function but needs a binary
install. You can implement getline with
On 3/11/06, Joel Gwynn [EMAIL PROTECTED] wrote:
I know I've done this before, but I'm not sure what I'm doing
differently today. I'm trying to capture a simple command-line option
like so:
my $debug = 0;
if(grep(/--debug=(\d+)/, @ARGV)){
$debug = $1;
print debug: $debug\n; #
On 3/11/06, Ben Tilly [EMAIL PROTECTED] wrote:
On 3/11/06, Joel Gwynn [EMAIL PROTECTED] wrote:
I know I've done this before, but I'm not sure what I'm doing
differently today. I'm trying to capture a simple command-line option
like so:
my $debug = 0;
if(grep(/--debug=(\d+)/, @ARGV
On 3/11/06, Joel Gwynn [EMAIL PROTECTED] wrote:
Correcting myself, I don't think it is a bug. $1 is dynamically
scoped. In your construct above, that means that when grep ends, $1
is cleaned up.
while(grep(/--debug=(\d+)/, @ARGV)){
$debug = $1;
print debug: $debug\n;
On 3/30/06, Kripa Sundar [EMAIL PROTECTED] wrote:
Hello all,
I thought this was fairly simple (and it probably is). But I am not
able to figure out how I can fork() off, say, five child processes, and
wait for all of them to terminate.
1 until -1 == wait();
You'll need something more
On 3/31/06, Kripa Sundar [EMAIL PROTECTED] wrote:
Dear Ben,
Thanks for the detailed reply to my query.
If my questions below can be answered by online docs, please feel free
to point me to them. I read through the following docs before my
previous email. But I am still mostly in the dark:
Code Complete talks about this.
And many other things.
The main obstacle is getting people to actually READ it. (And after
that, to try to APPLY it.)
Cheers,
Ben
On 4/4/06, Tolkin, Steve [EMAIL PROTECTED] wrote:
Thank you Charlie. That is the idea I am trying to get across. Do you
have
Use scalar filehandles? You're probably thinking of 5.6.0, which was
the first that would let you autovivify filehandles. As far as I
know, through the 5.x series you could always do:
my $fh = do {local *fh};
open($fh, $somefile) or die Can't read '$somefile': $!;
If you didn't remember
Do not weep.
What changed in 5.6 was that it started autovivifying them. Just make
the following conversion:
open(my $fh, $file) ...
my $fh = do {local *FH};
open($fh, $file) ...
and your problem is fixed.
Cheers,
Ben
On 5/23/06, Greg London [EMAIL PROTECTED] wrote:
5.6?
(weeps)
On 5/23/06, Uri Guttman [EMAIL PROTECTED] wrote:
BT == Ben Tilly [EMAIL PROTECTED] writes:
BT If you didn't remember the do local trick, you could always use Symbol
BT and then call gensym to get your typeglob.
i have used Symbol::gensym for years and it is fine for this. it comes
I am going to second the suggestion to write an upload feature from a
spreadsheet. You're not going to invent a better UI, and it is going
to take you a lot more work. Plus there is no security issue here -
anyone can do anything they want with the spreadsheet but they can
only enter it into
Double check where the limit is. It may well be 2 GB.
Ben
On 6/21/06, James Eshelman [EMAIL PROTECTED] wrote:
Thanks Sherm. It looks like there might be some benefit for high-end users
who are likely to go beyond 4GB VM but we can postpone it 'til then.
- Original Message -
From:
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
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 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/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/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/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 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 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 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 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 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
1 - 100 of 183 matches
Mail list logo