Tue Aug 18 05:16:49 2009: Request 48770 was acted upon.
Transaction: Correspondence added by mianro...@hotmail.com
       Queue: PAR
     Subject: RE: [rt.cpan.org #48770] $0 is not working when PAR is used
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: mianro...@hotmail.com
      Status: open
 Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=48770 >



     Hi Roderich,

     Thanks for your good explanation. It is really appreciated.

     When I packed my perl files, I discover the program didn't work as 
expected and
I had to dig down for not few days in order to discover $0 was not working 
properly.
As you have shown, you have gone one step further, it seems the issue is 
related with 
the shrink of the environment but I think this is something quite weird.

     The issue I see here is that there is a command (not PAR'ed ) that is 
working properly,
and then, when it is PAR'ed, it has different behaviour, which this is 
something I see not acceptable.
I remember perlcc could change the behaviour of the program because it does not 
guarantee full
compliant, but I didn't read anything about it in PAR. Indeed, I think I see 
some references saying
use PAR if you do not want to see a weird behaviour in your program.

     PAR should not shrink the environment variable in a way the behaviour of 
the program
is changed (!!). If it does that (I'm pretty sure there could be a good reason 
for it, but I am not
an expert) it should not affect the specification of the program, as it seems 
it does.

     My point heres are 2 then:

Could this be fixed? 
If not, could it be a workaround in which this "shrinking" environment in the 
PAR files could be overcome and the behaviour of the programs are not changed?

    Thanks

            Miguel.

   

_________________________________________________________________
Internet Explorer 8 más sencillo y seguro ¡Descárgatelo gratis!
http://events.es.msn.com/noticias/internet-explorer-8/

Reply via email to