would someone tell me whether or not the problem with what the original
post is because of $stringa.",".$stringb being unbroken? does that
matter?
as a fledgling, i always pump alot of space in my scripts, but see some
of the more advanced replies here being different...
ken
On Fri, Mar 22, 20
my random mp3 script works with strict and warnings (yeah!). now, i want
to do a second task with it, which is additionally write the data of
$inc to a file, named mp3.inc. Here's what i have. i can't find the
reference to doing this. even the correct perldoc pointer would be
wonderful.
#/usr/bi
Here's what i have, and here's the problem. and here's what i 'think' i
have to learn/do to fix it:
#/usr/bin/perl -w
use strict;
#
# script to randomly choose a song
# and embed html with a link to it
#
my @mp3 = glob("/www/mp3/*.mp3");
#
# put while statement
my $mp3 =~ s#.*/##;
srand;
print "
linux environment. have o'reilly cookbook & learning perl (2nd ed.).
desire to randomly choose a filename of mp3 files in a directory
containing only mp3's.
then, write the name of this filename to a file that has
"http://myurl.org/mywebpath/..."; inserted before the filename so that i
end up w