On Friday, May 30, 2003, at 06:10 PM, Ken Tozier wrote:

sub GetPhotoInfo($inPhotoPath)

This should be: sub GetPhotoInfo


{
open(PROPS, 'egrep -a \'<photoshop:([^>]+)>[^<]*</photoshop:\1>\' $inPhotoPath |

All sub routine parameters are passed in the @_ variable. To get the first of those $_[0], should do the trick. So replace $inPhotoPath with $_[0] in the line above.


 ');
}

Hope that helps.


James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to