Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Same is different?

by DrZaius (Monk)
on May 29, 2001 at 19:26 UTC ( #83979=note: print w/replies, xml ) Need Help??

in reply to Same is different?

Does this mean that CGI isn't always with you if you are trying to build a portable system?

This is complete theory, but merlyn suggested in a previous node that in the worst case you can include the contents of CGI in a BEGIN block.

If there are platform specific variables, this means you have to change your code for different platforms.

Same deal with use lib.

Replies are listed 'Best First'.
Re: Re: Same is different?
by BooK (Curate) on May 29, 2001 at 19:39 UTC

    I think this mostly means I am a stupid wheening moron... :-S

    In my obfuscated code, I assumed that the same version of would be identical (except for line-endings) on every platform Perl runs on. This is false. But the differences are in fact very tiny (a few lines), and mostly regard configuration parameters, which actually and naturally change between platforms and installs.

    I think the Perl core (and CGI is part of the standard distribution) is you best bet at portable code. This doesn't include Obfuscation, that's all... :-)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2020-07-13 12:18 GMT
Find Nodes?
    Voting Booth?

    No recent polls found