Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Perlscript ➜ $world->

$world->

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Yasik   Ukraine  (15 posts)  Bio
Date Sun 03 May 2015 07:53 AM (UTC)
Message
Hello!

Can anybody please explain what it does - when I put "$world->" before function calls?
Can I omit it without consequences?
What are other options?
Thanks in advance.
Top

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #1 on Sun 03 May 2015 03:01 PM (UTC)
Message
Well, do you know what "->" means in perl?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Yasik   Ukraine  (15 posts)  Bio
Date Reply #2 on Sun 03 May 2015 06:49 PM (UTC)
Message
No I dont, I somehow managed to write my scripts without diggin deeply into theories and those are working fine.
Is it something important?
Top

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 03 May 2015 08:01 PM (UTC)
Message
It's been a while since I did this stuff, but I think the $world-> part gives you access to the "world" functions in MUSHclient. Without it they won't work.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,209 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.