Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-21-2004, 09:45 PM   #1
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
What would this code do in PERL?

What would this code do in PERL? Someone psoted this as an answer to a question, but they posted the code in hex. This is the translation. What does it do? Since they felt it was best to translate the code to hex before posting, I suspect the poster may have had ill intentions but i would like to know for sure.

echo root#;
sleep 5;
echo logout<lf>
Old 11-22-2004, 02:19 AM   #2
Registered: Jun 2003
Location: Glendale AZ
Distribution: Slackware 10
Posts: 153

Rep: Reputation: 30
it logs out root?

Nothing serious as far as I can tell.
Old 11-22-2004, 03:12 AM   #3
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
# perl test.perl
Can't locate object method "echo" via package "root" (perhaps you forgot to load "root"?) at test.perl line 1.
Thats what it does. Nothing. Thats not even perl scripting.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
perl send mail code pragti Programming 2 03-17-2006 05:48 PM
i want practical perl code... kaktous Programming 4 03-18-2005 02:16 PM
Perl: What's this mean? (Code sample) Benr Programming 5 10-23-2004 07:20 AM
Hiding code in PERL, perl gui question randomx Programming 1 06-26-2004 03:22 PM
making an entry in crontab through code (perl) akaash Programming 2 05-17-2004 03:36 AM

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration