marauder has asked for the wisdom of the Perl Monks concerning the following question:
it gets wav details as I wish but still keeps the file open so when I try to move the file later on in the script I get the error "file being used by another process". Can anyone tell me how to close the file?use Audio::Wav; my $wav = new Audio::Wav; my $read = $wav -> read( "$filename.wav" ); my $details = $read -> details(); my $frequency = $details -> {sample_rate};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: audio::wav::read
by premchai21 (Curate) on Jan 18, 2002 at 00:57 UTC | |
by riffraff (Pilgrim) on Jan 18, 2002 at 04:05 UTC |