Changeset 4311
- Timestamp:
- 01/10/08 00:31:30 (5 years ago)
- Files:
-
- 1 modified
-
lang/perl/Config-Pit/trunk/lib/Config/Pit.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Config-Pit/trunk/lib/Config/Pit.pm
r4310 r4311 26 26 local $YAML::Syck::ImplicitTyping = 1; 27 27 local $YAML::Syck::SingleQuote = 1; 28 28 29 29 if ($opts{require}) { 30 30 unless (all { defined $profile->{$name}->{$_} } keys %{$opts{require}}) { … … 80 80 $config->{profile} = $name; 81 81 YAML::Syck::DumpFile($config_file, $config); 82 warn "Config::Pit: profile switch to $name from $ret.";82 print STDERR "Config::Pit: Profile switch to $name from $ret.\n"; 83 83 return $ret; 84 84 } 85 85 86 86 sub pipe { 87 -t STDOUT ? warn'do not output to tty.' : print Dump(get(shift)), "\n"; ## no critic87 -t STDOUT ? print STDERR 'do not output to tty.' : print Dump(get(shift)), "\n"; ## no critic 88 88 } 89 89
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)