The parameters may be given in arbitrary order. Both parameters have built-in default values. If the calling application doesn't provide a specific parameter at all, the object will apply the default value to that parameter.

DO_CLEANUP=>

Optional. Default value: false

If given with any true value, the object will try to cleanup some of the parameters given. For instance, if SEQUENCE_ID=> is given in lower-case, the Tag15 object will convert it to upper-case.

If not given, or if given with a false value, it is fully up to the calling application to assure that the given parameters contain reasonable values.

SEQUENCE_ID=>

Optional.

A one character value that will be appended to the TAG. If SEQUENCE_ID=> contains the letter 'A', then a TAG15A will be provided. If SEQUENCE_ID=> contains the letter 'B', then a TAG15B will be provided. Etc.

If DO_CLEANUP=> was given a true value, then the character given in SEQUENCE_ID=> will always be converted to upper-case, as well as the object will only honor the first character in SEQUENCE_ID=>.

If DO_CLEANUP=> holds a false value (the default), then whatever value given in SEQUENCE_ID=> will be used without any questions asked.

Will return the number of errors detected in the objects instance data.

The class can never be charged to guarrantee that the provided string() will be fully compliant with the SWIFT standards or SWIFT verification rules. It can only point out known problems in the object as it is curently loaded.

BETA

Please beware that the current implementation of invalid() doesn't check anything at all. Consider it a placeholder for now. When time permits, the method will be filled with validation code.

Return value:

As it stands, the method will always return zero since it wasn't able to discover any error at all.

Get and/or set the Sequence ID that will be used when providing the TAG15x string.

Takes one optional scalar parameter, a one character Sequence ID that will be used in all subsequent method calls for this object.

If a Sequence ID is provided, it will be stored for future use.

Return value:

If called in a scalar context, the method will return the Sequence ID stored.
If called in an array context, the method will return an array containing one single value, the Sequence ID stored.
If called in void context, the method will return undef.