I'm not sure if this is platform-independent. I hope it is.
perlfunc documents that crypt() is just a wrapper around the crypt() function in the C library. That function may be different on different platforms, according to POSIX: "The algorithm is implementation-defined." and "The first two bytes of this string [the salt argument] may be used to perturb the encoding algorithm." (i.e. implementations may choose to ignore the salt). The crypt function may even be not implemented: "The crypt() function shall fail if: ENOSYS The functionality is not supported on this implementation.". According to perlport, Android does not implement crypt(), and on Win32, it depends on how perl was compiled.
So, unfortunately, this JAPH may not work on all platforms.
Alexander
In reply to Re: JAPH does the splits
by afoken
in thread JAPH does the splits
by Schmunzie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |