| 1 | package Babble::SymbolGenerator; | ||
| 2 | |||
| 3 | 12 | ▶ | use Mu; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 12 | ro count => (default => '001'); | |
| 6 | |||
| 7 | 12 | ▶ | sub gensym { |
|
Subroutine
gensym: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 8 | 12 | my ($self) = @_; | |
| 9 | 12 | my $sym = '__B_'.$self->{count}++; | |
| 10 | 12 | return $sym; | |
| 11 | } | ||
| 12 | |||
| 13 | 12 | 1; | |