---
name: "Cupt::Cache::ArchitecturedRelation"
section: "3pm"
platform: "linux"
package: "libcupt-perl"
version: "1.5.14.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Cupt::Cache::ArchitecturedRelation"
---

# Cupt::Cache::ArchitecturedRelation(3pm)

store info about the relation with architecture specifier

## NAME

Cupt::Cache::ArchitecturedRelation - store info about the relation with architecture specifier

## METHODS

### new

creates new Cupt::Cache::ArchitecturedRelation object

Parameters:

*relation\_string* - bare relation string (examples: `"nlkt [amd64]"`, `"nlkt (>= 0.3.1)"`

### stringify

method, returns canonical stringified form of the relation

## FREE SUBROUTINES

### unarchitecture\_relation\_expressions

free subroutine, converts array of architectured relation expressions to array of regular relation expressions

Parameters:

*ref\_architectured\_relation\_expressions* - input array

*current\_architecture* - string, current architecture

### parse\_architectured\_relation\_expression

free subroutine, parses architectured relation expression in string form, builds "Relation expression" and returns it

### parse\_architectured\_relation\_line

free subroutine, parses line of architectured relation expressions, builds array of "Relation expression"s and returns reference to it
