Re: [perl #40204] line numbers of runtime errors are one too low

2006-08-20 Thread Leopold Toetsch
Am Sonntag, 20. August 2006 02:43 schrieb Will Coleda:
> > [1] http://rt.perl.org/rt3/Public/Bug/Display.html?id=38594
> >     and WTF - who dared to close that (coke--)
>
> This isn't the same error, it's a different one.

Do you intend to have a new ticket for each PIR snippet with wrong line 
numbers? I should have made it more clear in #38594 - the one example is just 
an axample, but by far not the only one with wrong line numbers.

leo


Re: [perl #40204] line numbers of runtime errors are one too low

2006-08-20 Thread Chip Salzenberg
On Sun, Aug 20, 2006 at 07:12:12AM -0700, Leopold Toetsch via RT wrote:
> Am Sonntag, 20. August 2006 02:43 schrieb Will Coleda:
> > > [1] http://rt.perl.org/rt3/Public/Bug/Display.html?id=38594
> > >     and WTF - who dared to close that (coke--)
> >
> > This isn't the same error, it's a different one.
> 
> Do you intend to have a new ticket for each PIR snippet with wrong line 
> numbers?

If too many RT tickets is our largest problem then ... well, anyway, it's
not.

When the apparent & reported bug was fixed, closing the ticket was
right.  Besides, it's not like they aren't a renewable resource.  :-)
-- 
Chip Salzenberg <[EMAIL PROTECTED]>


Re: [REPATCH] Parrot::Embed Take Two

2006-08-20 Thread François PERRAD

At 18:43 17/08/2006 -0700, chromatic wrote:

Hi there,

Here's a patch for Build.PL that should avoid most of the pkg_config troubles
on platforms that don't have it.  I still don't quite know what to do on
Windows when installing from outside of the Parrot tree.


1) in get_parrot_path_external(), the split of PATH is not portable, 
File::Spec gives a solution :

for my $path ( File::Spec->path() )
2) consider the use of File::Which instead of get_parrot_path_external
use File::Which;
...
return which('parrot');

François.


-- c