It depends on how you look at it. One could argue "nothing". Remove
anything, and it's no longer Perl. On the other hand, one could say
"almost everything". Remove everything from Perl till all you have
left is C, and you can do anything with it that you can with Perl.
And you don't even need to stop there - there are a lot of things that
can be removed from C as well. For instance, you can get rid of all the
libraries, including 'libc'.
Of course, what you really want is something only you can answer.
After all, you write:
I'm looking for other ways to shave down the size, remove the parts that
aren't needed, and still retain the functionality that I require.
What the functionality is that you require is only you can answer. And
what's needed? OO isn't needed, regexes aren't needed, hashes aren't
needed, dynamic loading of libraries aren't needed, XS isn't needed,
looping constructs aren't needed, references aren't needed, strings
aren't needed, in fact, very little is "needed".
But would it be Perl?
Abigail
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.