Announcement

Collapse
No announcement yet.

What are all these .cat files?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    What are all these .cat files?

    Just sitting here watching my test site upload and I'm noticing a huge amount of files with names like A00xxxx.cat - there's nearly 800 of them at the moment.

    What do they do exactly?

    Just looking at one and it looks like this (which doesn't really help) -
    Code:
    10039;
    $::g_pSectionList{'A00017.cat'} = 
    	{
    	'VERSION' => 12,
    	'CART_MODE' => 3,
    	'PARENT_SECTIONS' => [102,54],
    	'CUSTOMVARS' => 
    		{
    		},
    	};
    
    return($::SUCCESS);
    John

    #2
    Actually they are fragments of perl script. They are loaded and executed by the perl interpreter as part of the main xxxx.pl scripts. Each .cat file fills the named members of a variable called g_pSectionList with the values pertaining to a single product.

    Its just an easier way to load data into a perl program. Saves having a specific data file format and having to interpret it

    Alan

    Comment

    Working...
    X