Article 566SX [SOLVED] How Can I fix this Perl code I found online?

[SOLVED] How Can I fix this Perl code I found online?

by
dave555
from LinuxQuestions.org on (#566SX)
I found this code online about using perl. I believe it will generate unlimited patterns of letters and numbers.

Here is the code"

Code:perl -le '@c = ("A".."Z","a".."z",0..9);
for $a (@c){for $b(@c){for $c(@c){for $d(@c){for $e(@c){
print "$a$b$c$d$e"}}}}}'When I execute it, I get this error.
perl perltest
syntax error at perltest line 5, near "-le"
Execution of perltest aborted due to compilation errors.

perltest is the file.

I don't know anything about perl. So, I'm not sure what the error is near le.

I appreciate any help. Thankslatest?d=yIl2AUoC8zA latest?i=RqZFDFZGZY4:orH-zEKeZ8o:F7zBnMy latest?i=RqZFDFZGZY4:orH-zEKeZ8o:V_sGLiP latest?d=qj6IDK7rITs latest?i=RqZFDFZGZY4:orH-zEKeZ8o:gIN9vFwRqZFDFZGZY4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments