White Wolf

من اروع اكواد البيرل

Posted in برمجة و بيرل by regex2008 on فبراير 27, 2009

بسم الله الرحمن الرحيم

تكلمت سابقا عن عن just another perl hacker

و هذا الكود من اروعها فهو شبيه بالجافا كثيرا و لكن في سطر الاوامر … جرب :

use Time::HiRes ‘usleep’;++$|;$s=’rekcah lreP rehtona tsuJ’;@v=
(65..90,97..122,32);do{do{print$_=sprintf’%c’,$v[rand@v];usleep
2000;print”\b”}while$_ ne substr$s,-1;chop$s;print}while$s

اترك رد

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / تغيير )

Twitter picture

You are commenting using your Twitter account. Log Out / تغيير )

Facebook photo

You are commenting using your Facebook account. Log Out / تغيير )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 25 other followers