Extutils-Xssymset

ExtUtils::XSSymSet(3p) Perl Programmers Reference Guide

Extutils-Xssymset

ExtUtils::XSSymSet(3p) Perl Programmers Reference Guide # ExtUtils::XSSymSet(3p) Perl Programmers Reference Guide NNAAMMEE # ExtUtils::XSSymSet - keep sets of symbol names palatable to the VMS linker SSYYNNOOPPSSIISS # use ExtUtils::XSSymSet; $set = new ExtUtils::XSSymSet; while ($sym = make_symbol()) { $set->addsym($sym); } foreach $safesym ($set->all_trimmed) { print "Processing $safesym (derived from ", $self->get_orig($safesym), ")\n"; do_stuff($safesym); } $safesym = ExtUtils::XSSymSet->trimsym($onesym); DDEESSCCRRIIPPTTIIOONN # Since the VMS linker distinguishes symbols based only on the first 31 characters of their names, it is occasionally necessary to shorten symbol names in order to avoid collisions. ...