Ooh-kay.. You've written your question in a very confusion manner but if you had a GIF that contained hidden code, it would be a Trojan Horse
It gets it's name from the tale of warriors sneaking their way into the city of Troy by hiding inside a large, wooden horse. A virus or malicious code...
I spend most of my day coding in perl. I'm always googling for code examples or looking up functions.
I don't think anyone expects a developer to fully know everything. They just expect you to produce the required code. How you generate it is up to you.