Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: How to convert a script from C to Perl?

by lyklev (Pilgrim)
on Oct 26, 2010 at 21:33 UTC ( [id://867551]=note: print w/replies, xml ) Need Help??


in reply to Re^3: How to convert a script from C to Perl?
in thread How to convert a script from C to Perl?

...and since we were fixing things, replace the statement near the end of plant_id.c

string = num2Pstring( counter + 1 );
with
sprintf(string, "P%d", counter + 1);
and remove the num2Pstring routine.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://867551]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found