in reply to how to port the unix by writing perl program
If you mean "What *nix-like tools are available for DOS/Windows?" please look here: Re: UNIX shell commands in Windows
HTH,