sprintf and Perl 4

I am trying to get a script running on a server with
Perl 4 - the script has a few lines that rely on
the "sprintf" command, Perl 4 seems to not know what this is, is something I can use instead of sprintf?
Much Thanks.
asagoAsked:
Who is Participating?
 
ozoCommented:
In perl4, use
sprintf(format,list)
not
(sprintf format,list)


0
 
ozoCommented:
sprintf does exist in perl4.
Although unlike perl5 you can't just give it a bare list without ()
What's your code that gives the error?

0
 
ozoCommented:
Does that server system also have the perl4 man pages?

0
 
asagoAuthor Commented:
You were right about the parens that worked.
I have one last error in this script.
Which I will post as another question.
Ozo - go ahead and make your comment an answer
for this one - you did it again!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.