Thanks for taking the time to test and correct my script.
Unfortunately, this still "crashes" before the desired end. Here are the errors (if it helps, these appeared at the 24th player):
command timed-out at /Library/Perl/5.10.0/MozRepl/Client.pm line 186
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
(in cleanup) Can't call method "execute" on an undefined value at
+/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7714 during gl
+obal destruction.
(in cleanup) Can't call method "execute" on an undefined value at
+/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7714 during gl
+obal destruction.
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
(in cleanup) Can't call method "is_debug" on an undefined value at
+ /Library/Perl/5.10.0/MozRepl/Client.pm line 188, <MATCH> line 7714 d
+uring global destruction.
(in cleanup) Can't call method "execute" on an undefined value at
+/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7714 during gl
+obal destruction.
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
(in cleanup) Can't call method "is_debug" on an undefined value at
+ /Library/Perl/5.10.0/MozRepl/Client.pm line 188, <MATCH> line 7714 d
+uring global destruction.
(in cleanup) Can't call method "execute" on an undefined value at
+/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7714 during gl
+obal destruction.
(in cleanup) Can't call method "execute" on an undefined value at
+/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7714 during gl
+obal destruction.
(in cleanup) Can't call method "execute" on an undefined value at
+/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7714 during gl
+obal destruction.
(in cleanup) Can't call method "execute" on an undefined value at
+/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7714 during gl
+obal destruction.
(in cleanup) Can't call method "is_debug" on an undefined value at
+ /Library/Perl/5.10.0/MozRepl/Client.pm line 188, <MATCH> line 7714 d
+uring global destruction.
(in cleanup) Can't call method "is_debug" on an undefined value at
+ /Library/Perl/5.10.0/MozRepl/Client.pm line 188, <MATCH> line 7714 d
+uring global destruction.
(in cleanup) Can't call method "is_debug" on an undefined value at
+ /Library/Perl/5.10.0/MozRepl/Client.pm line 188, <MATCH> line 7714 d
+uring global destruction.
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
(in cleanup) Can't call method "is_debug" on an undefined value at
+ /Library/Perl/5.10.0/MozRepl/Client.pm line 188, <MATCH> line 7714 d
+uring global destruction.
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
(in cleanup) Can't call method "execute" on an undefined value at
+/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7714 during gl
+obal destruction.
(in cleanup) Can't call method "execute" on an undefined value at
+/Library/Perl/5.10.0/MozRepl.pm line 372, <MATCH> line 7714 during gl
+obal destruction.
(in cleanup) Can't call method "cmd" on an undefined value at /Lib
+rary/Perl/5.10.0/MozRepl/Client.pm line 186, <MATCH> line 7714 during
+ global destruction.
Even if this still doesn't work as intended, I'm really grateful you are helping me. |