You get these things called twisty ties which are long (80cm) foam covered wire. You could maybe cut one of these down to the right size and paint it to make it look like the candy cane and maybe attach some hair clips into it to clip into your hair, maybe.