- or download this
select *I=*STDERR;$|++;select STDOUT;$_=join('',<DATA>);
s#\[([^\]]*\?)\]#print I"$1 ";chomp($i=<DATA>);$i#ge;
s#\[([^\]]*)\]#@f=split(/\|/,$1);$f[rand@f]#ge;print
- or download this
print map{s/\?$/? /?print(STDERR)&&(<>=~/.*/g)[0]:split('\|')&&$_[rand
+@_]}
map{split/\[(.+?)\]/}<>
- or download this
#!/usr/local/bin/perl
print map{s/\?$/? /?print(STDERR)&&(<>=~/.*/g)[0]:split('\|')&&$_[rand
+@_]}
map{split/\[(.+?)\]/}<>
- or download this
Hello [world|planet|dude|there], [Name?]!
- or download this
print map{if(s/\?$/? /){print STDERR;(<>=~/.*/g)[0]}@z=split/\|/;$z[ra
+nd@z]}
map{split/\[(.+?)\]/}<>
- or download this
# Under Construction