[Perl] my quiz (easy)

Shlomo Yona shlomo at cs.haifa.ac.il
Wed Oct 23 02:47:50 PDT 2002


Write a sub which receives some integer number 
greater than zero (lets call the number N), and
return a string of N characters (over [A-Za-z0-9]).

Calling the sub within the same run of the program should 
guarantee no two strings of length N are equal (i.e. all the
strings of same length are uniqe).

Good luck.

Let's see who writes the nicest and perhaps smartest peace of code.

Shlomo Yona
shlomo at cs.haifa.ac.il

More information about the Perl mailing list