> Any ideas?
Wrap the use() statement in an if block.
if ( $^O eq 'darwin' ) {
use POSIX;
} else {
use POSIX qw(:sys_wait_h);
}
Will that work?
>
> No.
>
>>> Only if you wrap that in a BEGIN block.
>
> And not
On Tue, Jun 07, 2005 at 08:23:43AM -0700, Bryan R Harris wrote:
>
> >>> Any ideas?
> >>
> >> Wrap the use() statement in an if block.
> >>
> >> if ( $^O eq 'darwin' ) {
> >> use POSIX;
> >> } else {
> >> use POSIX qw(:sys_wait_h);
> >> }
> >>
> >> Will that work?
N
>>> Any ideas?
>>
>> Wrap the use() statement in an if block.
>>
>> if ( $^O eq 'darwin' ) {
>> use POSIX;
>> } else {
>> use POSIX qw(:sys_wait_h);
>> }
>>
>> Will that work?
>
> Only if you wrap that in a BEGIN block. Remember, 'use' happens at
> compile not run
Chris Devers wrote:
> On Mon, 6 Jun 2005, Bryan R Harris wrote:
>
>
>>Any ideas?
>
>
> Wrap the use() statement in an if block.
>
> if ( $^O eq 'darwin' ) {
> use POSIX;
> } else {
> use POSIX qw(:sys_wait_h);
> }
>
> Will that work?
>
>
Only if you wrap that i
On Mon, 6 Jun 2005, Bryan R Harris wrote:
> Any ideas?
Wrap the use() statement in an if block.
if ( $^O eq 'darwin' ) {
use POSIX;
} else {
use POSIX qw(:sys_wait_h);
}
Will that work?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional