0
\$\begingroup\$

This question is an exact duplicate of:

I know the Perl -p flag is counted as one byte. I've just added the Perl bignum library to my answer to make it shorter. I'm using it like this: perl -p -Mbignum filename.pl. How many bytes does it count as?

\$\endgroup\$

marked as duplicate by Alex A. Feb 13 '16 at 2:05

This question was marked as an exact duplicate of an existing question.

4
\$\begingroup\$

People usually count -p as one byte because perl -pE has a distance of 1 to perl -E (arguably the default). If you require reading the source code from a file for some reason, -p would count as three bytes, as perl -p file.pl has a distance of 3 to perl file.pl.

Likewise, perl -p -Mbignum file.pl has a distance of 9 to perl -p file.pl, so it comes at a 9 byte score penalty.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged .