FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


[PERL] Matrix code program made in perl





pirate
This is a very simple matrix code program made by me in perl. The password is root and does require perl to code.


Code:

my $count = 9;
print "pass progam\n";
print "Login: ";
    chomp ($login = <STDIN>);
        if ($login eq 'root') {

            while($count <=10) {
                print "!+bkŁg98qnm98n9%f;oks@spo=f90#3q[[4[p09\")";

            }
        } else {
            print "Wrong pass";
        }


If you try this please let me know what you think
saberlivre
Code:

 print "!+bkŁg98qnm98n9%f;oks@spo=f90#3q[[4[p09\")";

I didnt understand what that means.
Question
pirate
basically it will continuously print out those characters at high speed to give the matrix code look. Very simple. I made this when i was just playing around with perl.
saberlivre
your program will print these characters indefinitely unless you impose such a limit

Code:

 while($count <=10) {
      print "!+bkŁg98qnm98n9%f;oks@spo=f90#3q[[4[p09\")";
      $count++;
  }
Asap170
I didn't try it out or anything but the matrix code doesn't contain all of those characters! I know what you are trying to do though.
Fire Boar
Hm, needs more spaces and use of the random function.

Talking of stuff that looks really techy to the computing-impaired, check out http://hackertyper.net/
pirate
i know it could be alot better, im an experienced perl programmer. Like i said, i was just playing around and i accidentally found this. But yes a better way to do this would be to randomize the letters.

but if you read, it does say the noobs way to do matrix code
davidv
I actually thought you made a program that computes basic matrix arithmetic... Interesting nevertheless.
Related topics
Tools you use
MS frontpage or Dreamweaver or NVU?
what are the differents between script and language?
Flaws of the english language...
Free PHP shopping cart needed
Computer Programmer
Reddish Blue Sigs-Free Sigs Here
Borland Source Code
The matrix online hints and tips
How to create a login on Dreamweaver 8
A new graphics software
Why Perl isn't easy to learn
Coding ~ Poetry ?
[#1] Wise Program Uninstaller
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.