Removing PERL entirely? Instructions needed.

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Removing PERL entirely? Instructions needed.

Post by Mckorr » Tue Mar 11, 2003 9:30 am

I never use the PERL functions of MQ, doubt just about anyone does. So how do we surgically remove it from the source code so it won't be required anymore?

A search of eqlib.cpp reveals large segments of code that begin #ifdef USE_PERL, but I can't believe that simply removing these sections would be the complete solution.

Can someone post instructions on removing PERL, and what modifications need to be made so it compiles/runs smoothly?

Nesu
orc pawn
orc pawn
Posts: 10
Joined: Tue Mar 11, 2003 11:12 am

Post by Nesu » Tue Mar 11, 2003 11:41 am

I think that is the way to remove Perl.

Everything that has to do with Perl is trapped in the "USE_PERL" preprocessor definition.

What I would do is:

* Delete any code that is between the "USE_PERL" preprocessor definition
* Delete events.cpp/h
* Delete timers.cpp/h
* Delete PerlMod.cpp/h
* Delete PerlModCore.cpp/h
* Delete the PerlCore folder
* Delete Perl56.lib from the linker input

I'm at work so I can't test this now, but I'm pretty sure that should do it.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Tue Mar 11, 2003 2:17 pm

Since I already have working binaries I'll give it a try and see what happens... er, as soon as I back up my source code directory with all my workspace settings, etc.

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Tue Mar 11, 2003 3:22 pm

Salutations,
I'm iffy about deleting events.cpp/h + timer.cpp/h

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Wed Mar 12, 2003 12:37 am

uh, why iffy? the entire files are enclosed in #ifdef USE_PERL.

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Wed Mar 12, 2003 12:55 am

in fact, I just did the above (being careful to leave what was between the #else line and #endif's) and it compiled and works fine... No more perl. Perl bad. Perl useless (to me at least).

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Wed Mar 12, 2003 1:24 am

Salutations,
I didn't actually look at the files, it just said 'events and timers' and i'm just like 'holy shit? maybe that is some essential element... *hms*' it was an auto response that i couldn't control... heh... *sighs*

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Wed Mar 12, 2003 8:48 am

wouldn't compile for me, some sort of syntax error (missing semicolon or something). Will have to check those "elses", that might have been my problem.

FrankJScott
naggy
naggy
Posts: 2365
Joined: Sun Feb 19, 2023 7:11 am

Updated Stock Market Analysis Software Blog

Post by FrankJScott » Tue Jan 27, 2026 12:35 pm

To the lady talking about stocks dealing with artificial intelligence, ai stock analysis software, free stock analysis sites, open ai stock symbol, artificial investment, ai shares, free share analysis software, ai stocks us, trading via ai, investing and trading stocks, I highly suggest this top rated stock analysis software link or ai stocks nasdaq, software for stock trading, best free site for stock analysis, chat ai stock, stock buying software, investment for stock market, best stock market research app, ai stock review, invest openai, stock chat gpt, together with this your input here on stock prediction tool forum as well as best stock advisory app, stock market research platform, machine learning stocks, top ai investments, best ai investments, ai automated stock trading, best stock analysis, best future ai stocks, software for stock market, investing with ai, alongside all this recommended stock trading software site which is also great. Also, have a look at this great stock trading software url not forgetting sites such as best stock pick, free ai stock picker, most promising ai stocks, best stock prediction software, stock market research tools, stock technical analysis tools, ai stock screener, ai tech companies to invest in, stock prediction app, new ai technology stocks, which is worth considering with this find for stock analysis tool site together with free stock analysis sites, best stock analysis sites, open ai shares, free stock advice, stock analytics software, our site about on top of best trading app for technical analysis, stock trading ai software, free stock advice, trading on the market, best sites for us stock market analysis, and my website about for good measure. Check more @ New Free Casino Bet Toto Blog ec9a89a