I understand that it's its intended behavior, but $world->send not running what it sends through the aliases engine makes it a nightmare for me to develop a script I need.
Is there an alternative way to do it that I missed in the documentation?
$world->send doesn't run the alias engine. What can I do?
-
- Posts: 8
- Joined: Fri Dec 12, 2014 2:43 pm
Re: $world->send doesn't run the alias engine. What can I do?
Well, you have the full power of Perl, so you can do any kind of substitution you want.
But that's not really convenient if you want to use the same aliases available for interactive use. Fortunately there's the $world->expandaliases() function, that expands aliases as if they had been typed in the input box.
But that's not really convenient if you want to use the same aliases available for interactive use. Fortunately there's the $world->expandaliases() function, that expands aliases as if they had been typed in the input box.
-
- Posts: 8
- Joined: Fri Dec 12, 2014 2:43 pm
Re: $world->send doesn't run the alias engine. What can I do?
Argh, thanks! I really should have searched the word "alias" on the "$world reference" page.