in reply to Re: How to have OS specific code sections in Perl
in thread How to have OS specific code sections in Perl
The 'use if' line seems to work only if written as follows:
Any other way to write the 'use if' CONDITION doesn't seem to work.
Weird...
use if ($^O eq 'linux'), 'MIDI::ALSA' => ('SND_SEQ_EVENT_PORT_UNSUBSCR +IBED', 'SND_SEQ_EVENT_SYSEX');
Any other way to write the 'use if' CONDITION doesn't seem to work.
Weird...
In Section
Seekers of Perl Wisdom