DEV Community

Takahiro Kudo
Takahiro Kudo

Posted on

Perl - mockgen helper perl script

Created the helper script of mockgen because typing mockgen command takes time and effort.

Ref.
golang/mock

Discussion (2)

Collapse
szabgab profile image
Gabor Szabo

Nice, but IMHO it would be better to include some of the "best practices" such as "strict" and "warnings" and lexical filehandles so if someone copies this example they will learn the better practices.

Collapse
takakd profile image
Takahiro Kudo Author

Thank you for your feedback. I just fixed it. 👍