perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-docs/src/start/tips config.pod
Date Fri, 26 Apr 2002 01:45:50 GMT
stas        02/04/25 18:45:50

  Modified:    src/start/tips config.pod
  Log:
  tell in the error exactly what file we were trying to open
  
  Revision  Changes    Path
  1.3       +2 -2      modperl-docs/src/start/tips/config.pod
  
  Index: config.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/start/tips/config.pod,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- config.pod	26 Apr 2002 01:43:11 -0000	1.2
  +++ config.pod	26 Apr 2002 01:45:50 -0000	1.3
  @@ -17,8 +17,8 @@
   
     NameVirtualHost 192.168.0.1:80
     <Perl>
  -      open HOSTS, '/etc/apache/vhosts.txt'
  -          or die "Failed to open vhosts.txt: $!";
  +      my $config = "/etc/apache/vhosts.txt";
  +      open HOSTS, $config or die "Failed to open $config: $!";
     
         while (<HOSTS>) {
             my %config;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message