Changeset 6444
- Timestamp:
- Feb 16, 2006, 5:22:01 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/glueforge/glueforge.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/glueforge/glueforge.in
r6443 r6444 3 3 # Copyright (C) 2005-2006 Joshua Hoblitt 4 4 # 5 # $Id: glueforge.in,v 1.4 4 2006-02-17 03:17:56jhoblitt Exp $5 # $Id: glueforge.in,v 1.45 2006-02-17 03:22:01 jhoblitt Exp $ 6 6 7 7 use strict; … … 50 50 $output = $data->{pkg_name} unless defined $output; 51 51 52 my %tt;52 my $ttconfig; 53 53 { 54 54 # slurp config.pl 55 55 open(my $fh, "$template/config.pl") 56 56 or die "can't open $template/config.pl: $!"; 57 my$ttconfig = do {local $/; <$fh>};57 $ttconfig = do {local $/; <$fh>}; 58 58 close($fh) or die "can't close $template/config.pl: $!"; 59 59 } 60 60 61 61 # configure template file paths 62 my %tt; 62 63 eval $ttconfig; 63 64 die "can't eval contents of $template/config.pl: $@" if $@;
Note:
See TracChangeset
for help on using the changeset viewer.
