in reply to extracting data from a line
Cheers,R.
#! perl -w open(MYOUTFILE, ">/tmp/design_name_bot"); open (FILEH, "/tmp/strfile"); $_ = <FILEH>; print MYOUTFILE substr($_, rindex($_, '/') +1); close(FILEH); close(MYOUTFILE); [download]
TedPride++ I had not thought of the substr($_, rindex($_, '/') +1) way to get the last 'element' off a line and this is something I find I am coding a lot here. Its always nice to learn a more efficient way to do things.
Thanks,R.