in reply to Musical Notes

"So after it plays the notes, it should say which 'notes' it played and put it in one file..."

One way to accomplish this could be with Cache::Cache. Here is a little example:

use strict; use warnings; use Cache::FileCache; my $cache = new Cache::FileCache( ); my $word = $cache->get('word'); print "The word of the minute is ... "; unless (defined $word ) { print "there is no word for minute!\n"; print "Please enter the word the day: "; chomp($word = <STDIN>); $cache->set(word => $word,'1 minute'); } print "$word\n";

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)