Re: [perl #38146] [TODO] OS.pmc - file copy 38146

2006-06-19 Thread Alberto Simões
Leopold Toetsch wrote: On Jun 18, 2006, at 2:02, Vishal Soni via RT wrote: I am just wonedring if it would make sense to seperate out code for each supported operating system under a directory structure. At the time of build the specific code for target operating system is added to the sour

Re: [perl #38146] [TODO] OS.pmc - file copy 38146

2006-06-19 Thread Vishal Soni
Hi Leo, That sounds great. One quick question would it make sense to start defining a generic platform interface that that all supported platforms need to implement. A quick example of a similar abstraction would be the Apache Portable Runtime (http://apr.apache.org/). Let me know what your thou

Re: [perl #38146] [TODO] OS.pmc - file copy 38146

2006-06-19 Thread Leopold Toetsch
On Jun 19, 2006, at 19:30, Vishal Soni wrote: So do we need to change os.pmc to leverage this infrastructure and get rid of the platform specific code( currently implemented via IFDEF) from os.pmc? I think that all platform-specific code should be factored out, i.e. the existing methods sho

Re: [perl #38146] [TODO] OS.pmc - file copy 38146

2006-06-19 Thread Vishal Soni
Hi Leo, So do we need to change os.pmc to leverage this infrastructure and get rid of the platform specific code( currently implemented via IFDEF) from os.pmc? -Vishal On 6/19/06, Leopold Toetsch <[EMAIL PROTECTED]> wrote: On Jun 18, 2006, at 2:02, Vishal Soni via RT wrote: > I am just won

Re: [perl #38146] [TODO] OS.pmc - file copy 38146

2006-06-19 Thread Leopold Toetsch
On Jun 18, 2006, at 2:02, Vishal Soni via RT wrote: I am just wonedring if it would make sense to seperate out code for each supported operating system under a directory structure. At the time of build the specific code for target operating system is added to the source tree. Yep. Actuall

[perl #38146] [TODO] OS.pmc - file copy 38146

2006-06-18 Thread Vishal Soni via RT
Hi, I am trying implement #38146 todo item. While looking at the code for os.pmc there are IFDEF constructs defined for different operating systems (For e.g. WIN32 for now). I am just wonedring if it would make sense to seperate out code for each supported operating system under a directory s

[perl #38146] [TODO] OS.pmc - file copy 38146

2006-06-18 Thread Vishal Soni via RT
Hi, I am trying implement #38146 todo item. While looking at the code for os.pmc there are IFDEF constructs defined for different operating systems (For e.g. WIN32 for now). I am just wonedring if it would make sense to seperate out code for each supported operating system under a directory s