X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/d45094b7ee0dee87ae03d62f9e9a0a3e2196add8..5dc063ebfce6e78b69fa41bb4a2475fd726ee728:/devedit.pl?ds=sidebyside diff --git a/devedit.pl b/devedit.pl index b2261ad..543d220 100644 --- a/devedit.pl +++ b/devedit.pl @@ -1,17 +1,18 @@ #!C:/Programme/Perl/bin/perl.exe -w # -# Dev-Editor 1.2 +# Dev-Editor 2.0 (CVS) # # Dev-Editor's main program # # Author: Patrick Canterino -# Last modified: 2004-02-23 +# Last modified: 2004-03-06 # use strict; use CGI::Carp qw(fatalsToBrowser); +use vars qw($VERSION); use lib 'modules'; use CGI; @@ -22,6 +23,8 @@ use Command; use Output; use Tool; +$VERSION = '2.0 (CVS)'; + use constant CONFIGFILE => 'devedit.dat'; # Read the configuration file @@ -90,14 +93,16 @@ if(-e clean_path($config->{'fileroot'}."/".$file)) $uselist->load; # Create a hash with data submitted by user - # (the CGI and the File::UseList object will also be included) + # (some other necessary information will also be included) my %data = (physical => $physical, virtual => $virtual, new_physical => $new_physical, new_virtual => $new_virtual, uselist => $uselist, - cgi => $cgi); + cgi => $cgi, + version => $VERSION, + configfile => CONFIGFILE); my $output = exec_command($command,\%data,$config); # Execute the command...