I took a computer based Perl training course some time back. It was a 'request' from my manager that we all take advantage of the 'new expensive online training package' that the company just paid for. I chose a Perl course just to get me off his watch list.
The course had a number of 'fill in the rest' type code examples. Perl being what it is, there are often many ways to 'fill in the rest', but the course only accepted one possible answer with very specific syntax. I tried my best to follow the 'style' of the training course, but quite often my answers were marked wrong regardless due to some combination of line ordering or spacing or indentation. In many cases the 'correct' answer was what I would consider to be very bad Perl practice. By the end I was quite disgusted with the quality of the 'new expensive online training package'.
I hope your experience goes better.