how print all $::char variables?

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

Message
Author
ace_maranga
Noob
Noob
Posts: 2
Joined: 28 Apr 2011, 11:05
Noob?: No

how print all $::char variables?

#1 Post by ace_maranga »

i'm currently working on a subroutine to check if self is currently in a deal...

I'm good at PHP but kinda new to perl. since most coding languages are similar, i'm getting the hang of it....

but just wondering how to somehow do a print_r() or print all on an array in perl.

so i can see what are the variables available on $::char


OT:
@eternalharvest
thanks for the reply on my earlier post... i got the quest_active(). also made a quest_cooldown() where it uses $questList->{$args}->{time}. XD
i'm kinda enjoying customizing my openkore at the moment and writing macros. XD

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: how print all $::char variables?

#2 Post by EternalHarvest »

Not related to macro plugin.

http://search.cpan.org/perldoc?Data::Dumper

Post Reply