Grokbase
x

Andy Armstrong (a...@hexten.net)

Profile | Posts (25)

User Information

Display Name:Andy Armstrong
Partial Email Address:a...@hexten.net
Posts:
25 total
3 in mod_perl
22 in Perl 5 Porters

5 Most Recent

All Posts
1) Andy Armstrong Re: dtrace support
| +1 vote
=head2 DTrace support perl with -Dusedtrace. DTrace probes are available for subroutine entry that...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On 18 Jul 2009, at 22:46, Dave Mitchell wrote:
> I know a bit after 5.10.0, that some effort was put into adding some
> DTRace support to perl. Does anyone understand what was actually
> added,
> and if so, could you you write a brief paragrah for inclusion in
> perldelta?


=head2 DTrace support

On platforms where DTrace is available it may be enabled by configuring
perl with -Dusedtrace. DTrace probes are available for subroutine entry
(sub-entry) and subroutine exit (sub-exit). Here's a simple D script
that uses them:

   perl$target:::sub-entry, perl$target:::sub-return {
     printf("%s %s (%s:%d)\n", probename == "sub-entry" ? "->" : "<-",
               copyinstr(arg0), copyinstr(arg1), arg2);
   }


--
Andy Armstrong, Hexten
2) Andy Armstrong Re: dtrace support
| +1 vote
/me waves. Away from home right now - I'll give you some text by the end of today UK time.
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On 18 Jul 2009, at 22:46, Dave Mitchell wrote:
> I know a bit after 5.10.0, that some effort was put into adding some
> DTRace support to perl. Does anyone understand what was actually
> added,
> and if so, could you you write a brief paragrah for inclusion in
> perldelta?


/me waves. Away from home right now - I'll give you some text by the  
end of today UK time.

--
Andy Armstrong, Hexten
3) Andy Armstrong Re: [PATCH] Stricter Exporter
| +1 vote
Noted, thanks.
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On 10 Jul 2009, at 18:25, Nicholas Clark wrote:
>> Sure - I was thinking longer term - I lack tuits /right/ now. I'll
>> take a look thanks.
>
> But something I realise I forgot to say.
>
> Switch shouldn't be the only module we remove from core. It's a lot
> less
> development and code review effort to instead identify the module as
> "to
> be retired to CPAN", deprecate it for 5.12.0, and delete it in blead
> as
> soon as 5.12.0 ships.
>
> Arguably any module, dual life or not, is eligible for retirement.
> Unless
> they're (something like "used for building, testing or installing
> the core
> perl, or used for downloading and installing distributions from CPAN"


Noted, thanks.

--
Andy Armstrong, Hexten
4) Andy Armstrong Re: [PATCH] Stricter Exporter
| +1 vote
Sure - I was thinking longer term - I lack tuits /right/ now. I'll take a look thanks.
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On 10 Jul 2009, at 16:59, Nicholas Clark wrote:
> I can't give you a hitlist.
>
> Porting/Maintainers.pl tells you what *is* dual lifed. Everything it
> doesn't
> know about isn't. Any of them are fair game. Ken has also said that
> ExtUtils::ParseXS is fair game for applying strict.
>
> But, right now, it's likely that any patches proffered to the list
> may not
> get applied for a while, on the assumption that people are
> concentrating
> on 5.10.1 related issues.


Sure - I was thinking longer term - I lack tuits /right/ now. I'll  
take a look thanks.

--
Andy Armstrong, Hexten
5) Andy Armstrong Re: [PATCH] Stricter Exporter
| +1 vote
Are there modules in core that are otherwise orphaned? I'm happy to pick some up and give 'em some...
Perl 5 Porters
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On 10 Jul 2009, at 16:43, Nicholas Clark wrote:
>> 2. It's sad that the code that ships with the Perl core is some of
>> the
>> nastiest, ugliest, most perfect examples of "Perl 5 is line noise"
>> I've
>> ever seen. There's some value in bringing the core code up to the
>> standards we tell everyone else to live by.
>
> This is a good point. But it represents a lot of work. And some risk.


Are there modules in core that are otherwise orphaned? I'm happy to  
pick some up and give 'em some love.

--
Andy Armstrong, Hexten

spacer
Profile | Posts (25)
Home > People > Andy Armstrong