Charles Perrault may have written only 11 children's stories, but despite his modest oeuvre, he is considered one of the world's greatest children's writers.
The story was originally published in the collection of Croatian folk stories from Vojvodina "To the sky", which was collected and edited by Balint Vujkov, under the title Wise Shepherd, and narrated by Miško Zelić Kaćmar.