No I can't, it has to be pure perl without installing some 3rd party stuff. I've checked modules and it seems they all create their own constants or use C for networking, so these constants aren't probably defined anywhere in perl.
Comment on Re^2: IP constants from netinet/in.h in perl