Hi all,
I just finished this one-liner which builds a lexicographic tree and wanted to share it with the community.
perl -MStorable -ne 's/(.)/\{\1\}/g;eval("\$x${_}{EOS}");store(\%x,output)'To print it in a human-readable way :
perl -MStorable -MData::Dumper -e 'print Dumper retrieve(output)'In reply to Lexicographic tree by pierre.marchal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |