Remove the dependency on perl