Current time: 12-25-2024, 12:06 AM Hello There, Guest! (LoginRegister)


Poll: Do you want to beautify the perl code in the engine?
Yes
No
don't know
[Show Results]
 
Post Reply 
formatting style of the engine parts (perl)
Author Message
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #29
RE: formatting style of the engine parts (perl)
hm not perfect. But a good start Wink


variables should be declared like this.
Code:
<?php
$short            = foo($bar);
$long_variable    = foo($baz);
?>

and arrays:

Code:
$sampleArray = array(
    1, 2, 3, "ispCP",
    $a, $b, $c,
    56.44, $d, 500
);
(This post was last modified: 05-14-2008 01:07 AM by Zothos.)
05-14-2008 01:07 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: formatting style of the engine parts (perl) - Zothos - 05-14-2008 01:07 AM

Forum Jump:


User(s) browsing this thread: 6 Guest(s)