Commits

spek committed 07573ca

- typo fixes

Comments (0)

Files changed (2)

lib/FreeRADIUS/Database.pm

 
   my $radius = FreeRADIUS::Database->new({ config => '/path/to/config.file' });
  
-  # using an environment variable to create a new object with an
-  # alternate config file
-
-  $ENV{ 'FREERADIUS_DATABASE_CONFIG' } = '/path/to/config.file';
-  my $radius = FreeRADIUS::Database->new();
-
   # aggregate yesterday's radacct data
 
   $radius->aggregate_daily();
                                 day      => 'YYYY-MM-DD',
                             });
     
-  # get a users monthly aggregated totals
+  # get a users monthly aggregated bandwidth/time totals
 
   my $aoh = $radius->monthly_login_totals({
                                 username    => 'un',
 parameter must be supplied within a hash reference.
 
 You can also override the default configuration file location by setting 
-the FREERADIUS_DATABASE_CONFIG } environment variable prior to making the call to new().
+the FREERADIUS_DATABASE_CONFIG environment variable prior to making the call to new().
 
 If a configuration file can not be found or read, or the object can not be created,
 the return will be undef.

lib/FreeRADIUS/freeradius_database.conf.pod

 
 	named_class = ras1.example.com, ras2.example.com, ras3.example.com
 
-
+You can use any names you wish. The defaults are there for illustrative
+purposes only.
 
 =head2 [ Database ]