Team Totally Awesome
Opinion/Editorial Reviews Humor Vice Advice Boobsquad Forums

TTA Perl Golf 3

Author: Tyler
Posted: 30 Oct 2006

Perl Golf rules

Deadline: 17:00 Fri 03 Nov 2006

TTA Perl Golf 3:
Given an arbitrary-length string of printable ASCII characters on STDIN (terminated by \n), print out all possible *unique* anagrams of the alpha characters (A-Z,a-z) contained in the string, separated by a newline (\n).
For example, given the input "a$c%c3", you would print:
acc
cac
cca

Edit: I suppose "anagram" wasn't the right word to choose, since it implies an actual word. I'm really looking for all possible character combinations, regardless of any relation to a real English word.

Click the "Post Comment" link below to post your solution. Use [color] tags inside [quote] tags to spoilertext the solution. Example:

[quote][color=white]code[/color][/quote]

PLAY GOLF

 ·  Read 4 comments

Subscribe!
  · site updates
  · exclusives
  · previews
MAGGERific Designs
Video Game Reviews - Insult Swordfighting
Mitch Krpata's Video Game Reviews - Boston Phoenix
newmoanyeah
The Pop Cult
Morphine Nation
Only Paper Dolls
More pimpin'...
All text, images, and design ©2003-2017 Team Totally Awesome unless otherwise noted