Perfect! Thanks for your help.

I had to add both
do_populate_sysroot[depends] += "perl:do_populate_sysroot"
AND
do_populate_sysroot_setscene[depends] += "perl:do_populate_sysroot_setscene"

and now things are working great!