|
#70508
04/05/2001 8:23 PM
|
Joined: Mar 2000
Posts: 615
Member
|
Member
Joined: Mar 2000
Posts: 615 |
#!/usr/bin/perl -w use strict;my$n=96;my$x=q%print %;foreach(split//,lc( )){$x.=(ord()-qq@$n@).q*+*if/[a-z]/i};$_=$x.q$0;$;eval;
No experts 
[ April 05, 2001: Message edited by: JohnM ]
|
|
|
#70509
04/05/2001 8:34 PM
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
UBB.classic: Love it or hate it, it was mine.
|
|
|
#70510
04/05/2001 10:45 PM
|
Joined: Mar 2000
Posts: 41
Member
|
Member
Joined: Mar 2000
Posts: 41 |
I tried sticking that in a script, and set it to 755, but got a 500 error... so I dont know what it does... Charles apparently does, though :rolleyes:
Keep smilin
|
|
|
#70511
04/05/2001 11:05 PM
|
Joined: Sep 2000
Posts: 793
Member
|
Member
Joined: Sep 2000
Posts: 793 |
Oh man...I totally agree with Charles...
-DT
|
|
|
#70512
04/06/2001 12:04 AM
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
P.I.T.A. / Programmer
Joined: Sep 2000
Posts: 755 |
Very easy one 
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
|
|
|
#70513
04/06/2001 3:04 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
you can't run this over cgi (requires STDIN input) broken down (with a hint step too) for thsoe who don't get it. Must admit, missed the default variable operating on ord the first time round  Just a thought 
|
|
|
#70514
04/06/2001 10:12 AM
|
Joined: Mar 2000
Posts: 615
Member
|
Member
Joined: Mar 2000
Posts: 615 |
Well hey, I only started using perl a week or two ago 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|