-Original Message-
From: Tom Metro
Sent: Monday, August 08, 2011 12:48 PM
Subject: [Boston.pm] module introspection
I have a command line utility I am developing that I'd like to be
extendable with additional verbs such that you can do:
command verb ...args...
And I'd like the
From: Tom Metro [mailto:tmetro-boston...@vl.com]
Sent: Thursday, May 19, 2011 5:38 PM
Subject: Re: [Boston.pm] Perl memory profiling
I asked the same question back in March. See:
http://thread.gmane.org/gmane.comp.lang.perl.perl-mongers.boston/5266
Thanks for the pointer. Reading through it
Is there a way to profile a perl program's memory from within the program?
Specifically, I'd like to take snapshots of the memory usage as various data
structures within the program are created/freed.
Thanks,
-Nilanjan
___
Boston-pm mailing list
Check this one out ...
I had the fortune to listen to John Cohn talk at a conference last year. An IBM
Fellow, he is passionate about promoting science/engineering education for our
kids in school and getting them excited about doing engineering, which is why
he created this video. He is a
Gnuplot
-Nilanjan
-Original Message-
From: boston-pm-bounces+nilanjan.palit=intel@mail.pm.org
[mailto:boston-pm-bounces+nilanjan.palit=intel@mail.pm.org] On Behalf Of
Greg London
Sent: Friday, November 05, 2010 11:47 AM
To: Boston-pm@mail.pm.org
Subject: [Boston.pm] Csv in,
For hosting personal photo/video albums on the web there are various options
out there like Google Picasa and the like. However, I would like to build my
own web photo albums to post them on my own web site. I know that I can link to
Picasa web albums from my site but that's not what I'm
Pretty cool!
http://montreal.pm.org/tech/neil_kandalgaonkar.shtml
-Nilanjan
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
A while back I seem to remember a discussion in this forum on a Perl utility to
convert hierarchical (or marked up) text to slides. If so, what is that utility
and where can I get it? Also, what format is the output in: OpenOffice or
MS-PPT?
Thanks,
-Nilanjan
From: john saylor
Sent: Thursday, May 06, 2010 9:21 PM
Subject: Re: [Boston.pm] Newbie question
i'd say just do it.
I'll second that. Programming is all about practice and less about syntax (some
people argue that every language has a style/philosophy, but that will come
automatically as
http://blogs.discovery.com/nerdabout_new_york/2009/08/perl-puzzler.html#comments
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
-Original Message-
From: Ronald J Kimball
Sent: Thursday, July 09, 2009 10:18 AM
Subject: Re: [Boston.pm] binary search on a list of sorted strings in memory
Another option would be a dictionary tree, in which each node is a single
letter, so each word is represented by a path through
: Wednesday, May 20, 2009 6:28 PM
To: Tom Metro; Palit, Nilanjan
Cc: L-boston-pm
Subject: RE: [Boston.pm] Perl Boolean Expression builder
To minimize the Boolean expression or compute one from a truth table, I
think you want
http://search.cpan.org/~kulp/Algorithm-QuineMcCluskey-0.01/lib/Algorithm
From: boston-pm-bounces+nilanjan.palit=intel@mail.pm.org
[mailto:boston-pm-bounces+nilanjan.palit=intel@mail.pm.org] On Behalf Of
Jerrad Pierce
Sent: Friday, April 03, 2009 12:35 PM
Other than the camel, goats or mules probably come closest to representing
Perl's versatility I
From: Bernardo Rechea
Sent: Thursday, December 04, 2008 10:39 AM
I sounds like we are big fans of slicing... Now, what kind of slicing would
you say Perl's is more like, this: http://en.wikipedia.org/wiki/Slicer ? or
more like this: http://en.wikipedia.org/wiki/Microtome ? :-D
More like
How (or can) I use an interpolated scalar as an lvalue?
Example: I want to assign a value to a bunch of scalar variables $prefix_type:
my ($abc_type, $def_type, $xyz_type);
...
...
foreach (qw(abc def xyz)) #List of prefixes
{
$varname= $_._type; #Actual scalar variable name is
Thanks, Ronald.
I was hoping there was a way around that still satisfied 'strict refs'.
-Nilanjan
-Original Message-
From: Ronald J Kimball [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2008 10:40 AM
To: Palit, Nilanjan
Cc: Boston Perl Mongers
Subject: Re: [Boston.pm
-pm
Subject: Re: [Boston.pm] Interpolated scalar as an lvalue?
On Thu, 2008-10-16 at 10:39 -0400, Ronald J Kimball wrote:
On Thu, Oct 16, 2008 at 08:32:41AM -0600, Palit, Nilanjan wrote:
Perl complains about the second line in the foreach loop during run time:
Can't use string (abc_type
Bob,
It's been a while since I did PostScript programming. PS doesn't have
PCL type commands, since PS is really a low-level graphics
programming language. So you actually have to *draw* the page using PS,
which means setting up your page coordinates and drawing each individual
object
-Original Message-
From: Ronald J Kimball [mailto:[EMAIL PROTECTED]
Sent: Monday, September 10, 2007 3:01 PM
To: Palit, Nilanjan
Cc: boston-pm@mail.pm.org
Subject: Re: [Boston.pm] Subroutine definition
On Mon, Sep 10, 2007 at 11:51:56AM -0700, Palit, Nilanjan wrote:
I have to do some format
performance wise.)
Thanks,
-Nilanjan
-Original Message-
From: Ben Tilly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 11, 2007 12:52 PM
To: Palit, Nilanjan
Cc: boston-pm@mail.pm.org
Subject: Re: [Boston.pm] Subroutine definition
On 9/11/07, Palit, Nilanjan [EMAIL PROTECTED] wrote:
So I
Ronald,
Thanks, that works great!
-Nilanjan
-Original Message-
From: Ronald J Kimball [mailto:[EMAIL PROTECTED]
Sent: Monday, September 10, 2007 3:01 PM
To: Palit, Nilanjan
Cc: boston-pm@mail.pm.org
Subject: Re: [Boston.pm] Subroutine definition
On Mon, Sep 10, 2007 at 11:51:56AM
it in a variable when in that loop's context.
-Nilanjan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Ronald J Kimball
Sent: Thursday, September 21, 2006 6:47 PM
To: Palit, Nilanjan
Cc: boston-pm@mail.pm.org
Subject: Re: [Boston.pm] Loop index in foreach
In a foreach loop, is there a way to find out the loop index number?
E.g.:
foreach (@myarray)
{
...
push(@newarray[??loopindex??], somevalue);
...
}
Currently, I have to resort to the following:
for (my $i= 0; $i = $#myarray, $i++)
{ ... push(@newarray[$i], somevalue); ...}
... which is more
_
From: Palit, Nilanjan
Sent: Monday, September 18, 2006 10:31 AM
To: L-boston-pm
Subject: Loop index in foreach?
In a foreach loop, is there a way to find out the loop index number?
E.g.:
foreach (@myarray)
{
...
push(@newarray[??loopindex
Boger
Sent: Monday, September 18, 2006 10:39 AM
To: boston-pm@mail.pm.org
Subject: Re: [Boston.pm] Loop index in foreach?
On Mon, Sep 18, 2006 at 07:30:40AM -0700, Palit, Nilanjan wrote:
In a foreach loop, is there a way to find out the loop index number?
E.g.:
foreach (@myarray)
{
...
push
Can't help you with your Perl question, but I have used this one for a
while on WinX (freeware):
http://cheqsoft.com/break.html
-Nilanjan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil Mitchell
Sent: Tuesday, December 20, 2005 2:28 PM
To:
Does anyone have a list of the modules that Damian mentioned/used in his
talk yesterday? I'd like to dig into them to understand what lies
beneath maybe even use them. A quick search on Google did not reveal
anything.
Thanks,
-Nilanjan
-Original Message-
From: [EMAIL PROTECTED]
Yup!
Thanks,
-Nilanjan
-Original Message-
From: Kripa Sundar [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 12, 2005 6:22 PM
To: Palit, Nilanjan
Cc: Boston.PM Mongers
Subject: Re: [Boston.pm] Perl RE: first occurrence of a pattern?
Dear Nilanjan,
If I used a RE like the following
I want to redirect print output to both stdout a file at the same
time: I can think of writing a sub that executes 2 print statements (one
each to stdout the filehandle), but I was hoping someone has a more
elegant solution.
Thanks,
-Nilanjan
___
Thanks to all who responded. IO::Tee seems to be the right solution.
-Nilanjan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gyepi SAM
Sent: Monday, May 09, 2005 11:35 AM
To: Palit, Nilanjan
Cc: Boston.PM
Subject: Re: [Boston.pm] Simultaneous redirect
From: Greg London
Sent: Monday, March 07, 2005 9:50 AM
And if the applicant seems to take joy in simply pointing out
the problem as a way of demonstrating how smart they are but
consistently needs prodding to answer the meat of the question,
I wouldn't let them work for me if you paid me.
] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 11:01 AM
To: [EMAIL PROTECTED]
Cc: Boston-pm@mail.pm.org
Subject: RE: [Boston.pm] Perl popularity and interview questions
Palit, Nilanjan said:
~~$ perl -e '$x=1; $y=$x+++1; print x=$x, y=$y\n'
Bummer. I just got a ding on your interview
From: John Macdonald [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 12:50 PM
Precedence has nothing to do with it. The issue is how the
tokenizer breaks the input sequence '+++' into operator tokens.
Absolutely. The trickier version of the same question is when both sides
of the
From: Alex Brelsfoard
Sent: Friday, February 25, 2005 4:07 PM
Subject: Re: [Boston.pm] (also) Perl
I like this idea. I think Perl certification WOULD make the world
happier.
Then again, I like Greg's idea.
Think maybe some of us PerlMongers could get together and actually
start
up a real
-Original Message-
From: Uri Guttman [mailto:[EMAIL PROTECTED]
$ so specify your data and its use better. how many are there in each
list
$ to be hashed?
The application that I'm looking into this for, has 1000 chars per
string. [Though in a separate offline discussion w/ Greg London,
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 has known issues with collisions.
Any experiences with how well Digest::MD5 does
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
range of ~1000, but with relatively limited numbers of keys (few to low
tens of
I thought this is possible, but maybe I'm wrong. Ok, here's the issue:
I want to print the values of a bunch of variables so I thought I'll
take a shortcut and do this:
foreach (qw(var1 var2 var3 var4))
{
print $_ - ${$_}\n;
}
I had thought that interpolating the variable name (${$_})
to the boston-pm server), so I had been unsure of the address.
Will limit it to a single address next time.
-Original Message-
From: Ronald J Kimball [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 11:28 AM
To: Palit, Nilanjan
Cc: [EMAIL PROTECTED]
Subject: Re: [Boston.pm] RE
Folks,
Here's a weird regex behavior I'm getting that I don't understand.
Problem description: Look at the 2 if (s/.../.../) statements below
[marked (Case A) (Case B)]. They are basically identical each get
the same input. The only difference is that the 2nd regex has a \s* at
the start of
Of Mike Williams
Sent: Monday, August 02, 2004 9:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [Boston.pm] Weird regex behavior?
-Original Message-
From: Ron Newman [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 8:21 AM
To: Palit, Nilanjan
Cc: [EMAIL PROTECTED]
Subject: Re
Apologies for posting this in this forum - but I really need to resolve this and don't
know where to post this question - any suggestions or pointers to any other
question/message boards would be greatly appreciated.
I'm sending an html formatted email (Perl generated) which is being read in
This question is not directly related to Perl, but I'm hoping that someone here can
answer it.
I have written a tool in Perl, that runs on Unix, to generate daily roll-up reports
and mail it out to a distribution list. Most of the recipients use Microsoft Outlook
to read the reports. I have
43 matches
Mail list logo