Previous Thread
Next Thread
Print Thread
Rate Thread
#70508 04/05/2001 8:23 PM
Joined: Mar 2000
Posts: 615
Member
Member
Offline
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 wink

[ April 05, 2001: Message edited by: JohnM ]

Sponsored Links
#70509 04/05/2001 8:34 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
*groan!*


UBB.classic: Love it or hate it, it was mine.
#70510 04/05/2001 10:45 PM
Joined: Mar 2000
Posts: 41
Member
Member
Offline
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 smile
#70511 04/05/2001 11:05 PM
Joined: Sep 2000
Posts: 793
Member
Member
Offline
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
Offline
Joined: Sep 2000
Posts: 755
Very easy one wink


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
Sponsored Links
#70513 04/06/2001 3:04 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
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 laugh
Code
code:
Just a thought smile

#70514 04/06/2001 10:12 AM
Joined: Mar 2000
Posts: 615
Member
Member
Offline
Joined: Mar 2000
Posts: 615
Well hey, I only started using perl a week or two ago tipsy


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)