PDA

View Full Version : Is perl an OOP language?



gazz
November 9th, 2000, 21:16
HoOw modular is Perl as far as langs like C++? I just broke 1000 lines of code in my game in perl and its starting to become very unmanageable. Its still split into 15 cgi files and 7 .pl files but its still a lot of work.

If Perl had classes such as C++ I could easily halve my code right there.

Can I run C programs like I do CGI??

atlas
November 10th, 2000, 00:50
Originally posted by gazz
HoOw modular is Perl as far as langs like C++? I just broke 1000 lines of code in my game in perl and its starting to become very unmanageable. Its still split into 15 cgi files and 7 .pl files but its still a lot of work.

If Perl had classes such as C++ I could easily halve my code right there.

Can I run C programs like I do CGI??

Perl has modules. They are rather crude, but they work. No private and public members though like C++ classes.