Learning to script back in 1997, this was completely my experience. Learned a little by looking at other code, but also had to buy a book to learn Perl. Among others, this was a main reason why I switched to PHP around 2000, because of the online manual making it easier to find out how to do things.