DEV Community

loading...

Perl - mockgen helper perl script

takakd profile image Takahiro Kudo ・1 min read

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

Ref.
golang/mock

Discussion (2)

pic
Editor guide
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. 👍