i have never used perl..
i want to create a batch m3u creator to run on either windows xp and/or 2000.
this is my plan so far
something like....
**************************************************************
selectfolder = (get submitted folder location)
endfolder = (get destination folder)
baseurl = (get submitted base url)
# start loop
for each file in 'selectfolder' (
songname = ( get 'selectfolder' + 'filename' + .mp3 );
# create m3u file
createfile ( create file ( 'songname' + .m3u) );
writefile ( write ( 'baseurl' + songname + .mp3 ) );
saveinto ( 'endfolder' );
)
do until end of folder files
end loop
close
*****************************************
this is my first perl script attemp.. does anyone have any suggestions ?
is this the right way to go about this ?
or does any one have any sample scripts i can check out...
any thoughts
i want to create a batch m3u creator to run on either windows xp and/or 2000.
this is my plan so far
something like....
**************************************************************
selectfolder = (get submitted folder location)
endfolder = (get destination folder)
baseurl = (get submitted base url)
# start loop
for each file in 'selectfolder' (
songname = ( get 'selectfolder' + 'filename' + .mp3 );
# create m3u file
createfile ( create file ( 'songname' + .m3u) );
writefile ( write ( 'baseurl' + songname + .mp3 ) );
saveinto ( 'endfolder' );
)
do until end of folder files
end loop
close
*****************************************
this is my first perl script attemp.. does anyone have any suggestions ?
is this the right way to go about this ?
or does any one have any sample scripts i can check out...
any thoughts