InfiniteSilence has asked for the wisdom of the Perl Monks concerning the following question:
And there is nothing in the floppy drive? I get a horrible error that starts asking the incessant, "Abort, Retry, Fail" question on the command line and locks up the machine entirely. Anybody have a way to detect whether the floppy drive is in a state of readiness for read/write?open(PIPE,"dir /od a: |")||die 'cannot pipe!'; my @dirs = <PIPE>; close(PIPE);
Celebrate Intellectual Diversity
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Detecting drive unavailability on ActivePerl
by tye (Sage) on Apr 30, 2001 at 19:15 UTC | |
by InfiniteSilence (Curate) on Apr 30, 2001 at 19:49 UTC | |
|
Re: Detecting drive unavailability on ActivePerl
by the_slycer (Chaplain) on Apr 30, 2001 at 20:14 UTC | |
|
Re: Detecting drive unavailability on ActivePerl
by THRAK (Monk) on Apr 30, 2001 at 19:17 UTC | |
by InfiniteSilence (Curate) on Apr 30, 2001 at 19:43 UTC |