Changeset 375
- Timestamp:
- Jan 4, 2018, 2:14:35 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r374 r375 3046 3046 $format = 'txt' if not defined $possible_format{$format}; 3047 3047 3048 $possible_format{$format}->( $graph_modulo,$graph_shift, @ARGV);3048 $possible_format{$format}->(modulo => $graph_modulo, shift => $graph_shift, @ARGV); 3049 3049 return; 3050 3050 } … … 3059 3059 my $switch_connection = YAML::Syck::LoadFile("$KLASK_SW_FILE"); 3060 3060 3061 {3061 if ($args{'way'} eq 'all' or $args{'way'} eq 'desc') { 3062 3062 my %db_switch_global = %{$switch_connection->{'switch_db'}}; 3063 3063 my $arrow = '0--------->>>>'; … … 3145 3145 #--------------------------------------------------------------- 3146 3146 sub cmd_exportsw_dot { 3147 my $graph_modulo = shift; 3148 my $graph_shift = shift; 3147 my %args = ( 3148 modulo => 0, 3149 shift => 1, 3150 @_); 3151 3152 my $graph_modulo = $args{'modulo'}; 3153 my $graph_shift = $args{'shift'}; 3149 3154 3150 3155 my $switch_connection = YAML::Syck::LoadFile("$KLASK_SW_FILE");
Note: See TracChangeset
for help on using the changeset viewer.