Hi,
I noticed today that Text::ParseWords doesn't check for bad input,
e.g. mismatched quotes or a single unescaped quote. The second time I
read the documentation I saw this statement: "...and to Jeff Friedl for
telling me not to worry about error-checking (sort of-- you had to be
there)."
ssuming it's
still kicking around in 15 or 20 years.
--
Mike Small
sma...@sdf.org
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
if I were really looking I wouldn't mind seeing those
either.
You have the [Job] tag people can filter on. If listings became frequent
enough you could add some kind of adjective or quantifier for anyone who
wanted only to see 100% Perl jobs but not other percentages. Probably
overkill for the t
Mike Small <sma...@sdf.org> writes:
> Mike Small <sma...@sdf.org> writes:
>
>> "Greg London" <em...@greglondon.com> writes:
>>
>>> This may very well be a unix thing, not a perl thing,
>> ...
>>> The -nobuffer is trying to g
Mike Small <sma...@sdf.org> writes:
> "Greg London" <em...@greglondon.com> writes:
>
>> This may very well be a unix thing, not a perl thing,
> ...
>> The -nobuffer is trying to get it to flush its output
>> to STDOUT, rather than buffer it a
aybe there's a way
to get the file descripter from a Perl handle and use fcntl with F_SETFL
and O_NONBLOCK to make C do what you want. I've never tried this myself.
--
Mike Small
sma...@sdf.org
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mai
on after a write but output still won't come
out the other end of the c library's buffer until Perl gives it a
block's worth?
--
Mike Small
sma...@sdf.org
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
a code smell at a minimum ...
> and even if endorsed the comment is a code smell.
And yet one that 1234 common modules have if I understand your output
correctly. Hmmm, maybe I'll mention it one more time and then let it go.
--
Mike Small
sma...@sdf.org
C. I guess Exporter's import is written so this is harmless, so maybe
I should let it go?
--
Mike Small
sma...@sdf.org
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
are afraid that
>> their DESTROY gets wrong.
>>
>> (Note that my original version had a bug. I said IO::ALL::DESTROY when it
>> needed to be IO::All::DESTROY.)
>
>
>
>
> Duane Bronson
> nerdmach...@gmail.com <mailto:nerdmach...@gmail.com>
cases, eh?
--
Mike Small
sma...@sdf.org
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
for relating it to +=. I have trouble
remembering the handy special cases but when it's somewhat systematic
that helps.
--
Mike Small
sma...@sdf.org
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
#!/usr/pkg/bin/perl
use warnings;
my $a;
$a .= '70';
my $b;
$b = 42 . $b;
print "$a, $b\n";
With the script above I get an uninitialized value warning from perl
5.24 for the second concatenation but not the first. Is there a story
behind this? Something to do with the first case being
I would go but I have a yoga class on Tuesdays now.
On Tue, Oct 13, 2015 at 02:51:09PM -0400, Bill Ricker wrote:
> TONIGHT -- Any more RSVPs ? Real working Perl 6 code !
>
> Perl 6 v1.0 to release for real in 10 weeks ... website has relaunched.
> This is a very good thing, a long time in
On Wed, Oct 07, 2015 at 12:46:08PM -0400, Uri Guttman wrote:
> here are some good links about larry's talk and the (soonish) perl6 release.
>
> uri
Has there been any hint whether there will be a Camel (Butterfly?) book
eventually?
--
Mike Small
sma...@
sure to put .c_str() after, but what other implicit
type conversions might be lurking that won't be done by sprintf?
What about converting to std::ostringstream instead?
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http
Channel Protection Levels
use constant IMP_CRYPT = I;
use constant EXP_CRYPT = E; # Default
use constant CLR_CRYPT = C;
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo
thinking clearly at all maybe.
Thanks. I'm not unhappy with it now.
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
The 350 bus seems to go up that way too, following Cambridge Street from
Arlington. You catch it upstairs at Alewife, at the end closest to the
bike path where the bus to NYC used to leave from. Despite the high
number, it's a normal fare bus (probably since there's nothing express
about it).
_map { die; }
sub handle_ages { ; }
sub handle_dests { ...; somethin_somethin($self-_map()-{YYZ}) }
package PKG::fr;
use base 'PKG::_base';
our %map;
sub _map { \%map }
sub handle_ages { ; }
--
Mike Small
sma...@panix.com
{ PKG::_base::$sym(\%map, @_) }
}
}
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
Bill Ricker bill.n1...@gmail.com writes:
Answer - It's even harder to find an actual Bell Unix (Bourne) 'sh' shell
today than an authentic Berkeley Csh. Most 'sh' are actually Bourne Again
SHell (BASH) or later Gnu-ish/Linux derivatives there-of e.g. DASH, which
incorporate a lot of
anything in these four month contracts that Uri couldn't whip up in a
week or so. But since such companies seem chosen based on
recommendations from other people in industry, I'm not sure there'd be
any way in for an outsider, however technically trivial what they do
might be.
--
Mike Small
sma
work with someone whose whole job is
dealing with these things, and she probably enjoys getting paid, so...
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
for?
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
have a rigid 2 (or 3?) level structure that you walk down and
when you only have one you have an array of one, or else use ref to see
whether you have an array or scalar in each hash value and in each array
element as you walk down the tree.
--
Mike Small
sma...@panix.com
Jim Cant cant_...@hotmail.com writes:
The script gets passed the PID of the failed process and I can get all
the process information using Win32::Process::Info. Question 1: How
to generate the dump? Is there a module that will do this?
I don't know if there's a module but if there's not an
Ben Tilly bti...@gmail.com writes:
I've just come up with a better answer to this question. If I was a
C/C++ programmer this would have been obvious to me before, and it
solves a bunch of annoyances for me at once.
#ifndef UTIL_H
#define UTIL_H
#include string
#include stdio.h
#include
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
side effects, while with macros you can control that. Of course the
Ben Tilly bti...@gmail.com writes:
...
If I have a vector of type Foo, then an iterator over it has type
std::vector Foo ::iterator.
If I have a map from Foo to Bar, then an iterator over it has type
std::map Foo, Bar ::iterator.
If I have a set of things of type Foo, then an iterator over
Ben Tilly bti...@gmail.com writes:
...
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, but are there better approaches?
I get a test file with a lot of code that looks
Bill Ricker bill.n1...@gmail.com writes:
the book that i taught from was C++ How To Program.
http://www.deitel.com/
They have 5 C/C++ books now, plus Java, VB/#, Web, ...
Did you like Deitel and Deitel or was it a compromise between the books
you like best and what you thought a mix of
David Larochelle da...@larochelle.name writes:
I highly recommend Effective
C++http://www.amazon.com/gp/product/0321334876/ref=as_li_ss_tl?ie=UTF8camp=1789creative=390957creativeASIN=0321334876linkCode=as2tag=davlarsblo-20
by
Scott Meyers.
The best description I can give is that it's the
Greg London em...@greglondon.com writes:
I missed the original question, but if OP (Greg?) can wait
At the perl meeting, I mentioned that I'm using a lot of c++
at work and groused that I haven't found a good
intro to c++ book.
Sounds to me like Accelerated C++ might be close to what
Uri Guttman u...@stemsystems.com writes:
hi all,
if you and/or your company is interested in contributing to a damian
visit, please post to the list. a couple of you have posted privately
but it is better if all see the level of interest and hopefully they
will be encouraged to join in.
I
Greg London em...@greglondon.com writes:
(1) given a string containing the name of a scalar,
how would I tell if that variable already exists in the symbol table?
i.e. given MyPackage::Varname, how would I tell if
$MyPackage::Varname was already declared?
and if it is an array reference?
that is)? The time I had a Java
API to write against I found Jython to be a good compromise, and it
didn't take long to learn.
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
with
money.
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
these guys:
http://connect.microsoft.com/VisualStudio/feedback/details/336316/missing-destructor-calls-when-optimization-is-enabled#details
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo
it? Not sure if it's justified or not, but
very common from what I hear. Something to do with code verification,
provability? Not that that gives any lessons for application code
in other domains, necessarily.
--
Mike Small
sma...@panix.com
___
Boston-pm
of their languages. Perhaps they have some
justifications.
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
).
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
derive from,
right? Ew.
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
On Wed, Mar 17, 2010 at 12:17:30PM -0500, Greg London wrote:
Mike Small wrote:
Which begs the answer to your question: Yes, people use die as goto.
People use longjmp as goto. People use throw as goto.
The quoting got a bit mixed up here, this was John's statement, not mine
seconds of the downloaded file with mplayer. It played fine.
On Tue, Mar 9, 2010 at 12:47 PM, Mike Small sma...@panix.com wrote:
I'll try, but when I looked at the html it didn't look like there was
anything to grab manually. Maybe gnash will be able to pull out
a file, assuming the site
.
--
Mike Small
sma...@panix.com
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
to read the Parrot source code and understand why whatever I tried didn't
work and what's not there yet, which I figured would be educational.
--
Mike Small
[EMAIL PROTECTED]
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman
or eyes are too sore for computers, or
when
I'm on a bus or otherwise away from keyboards and monitors.
--
Mike Small
[EMAIL PROTECTED]
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm
48 matches
Mail list logo