LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   What would this code do in PERL? (https://www.linuxquestions.org/questions/linux-software-2/what-would-this-code-do-in-perl-257783/)

jdruin 11-21-2004 09:45 PM

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>

SirSlappy 11-22-2004 02:19 AM

it logs out root?

Nothing serious as far as I can tell.

Crashed_Again 11-22-2004 03:12 AM

Code:

# 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.


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