Re: joining 2 strings

2002-03-22 Thread K Clark
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

write variable's contents to file :WAS: how to randomly choose mp3 from dir, print mp3_filename for e mailing to a list

2002-03-22 Thread K Clark
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

RE: how to randomly choose mp3 from dir, print mp3_filename for e mailing to a list]

2002-03-22 Thread K Clark
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 "

how to randomly choose mp3 from dir, print mp3_filename for emailing to a list

2002-03-22 Thread K Clark
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