FreeRADIUS / dialup-admin

The WebGUI administration tool for the FreeRADIUS server
31 stars 26 forks source link

bin/ scripts fail to execute #2

Open dschultzca opened 10 years ago

dschultzca commented 10 years ago

While using some of the bin/ scripts from commit 3825dc862056306daedde732cb31eee0079d43af, execution would fail with a message such as:

Undefined subroutine &main::tempfile called at /usr/local/dialup_admin/bin/tot_stats line 52.

To fix this issue I added qw/ tempfile / to the use module line, as in:

use File::Temp qw/ tempfile /;

CentOS 6.4 Perl v5.10.1