correct perl invocation