| 1 | #!/usr/bin/perl -w | ||
| 2 | ################################################################################ | ||
| 3 | # This is CodeManager | ||
| 4 | # Copyright 2009-2013 by Waldemar Biernacki | ||
| 5 | # http://codemanager.sao.pl\n" . | ||
| 6 | # | ||
| 7 | # License statement: | ||
| 8 | # | ||
| 9 | # This program/library is free software; you can redistribute it | ||
| 10 | # and/or modify it under the same terms as Perl itself. | ||
| 11 | # | ||
| 12 | # Last modified (DMYhms): 13-01-2013 09:41:15. | ||
| 13 | ################################################################################ | ||
| 14 | |||
| 15 | use strict; | ||
| 16 | use warnings; | ||
| 17 | |||
| 18 | use Prima::CodeManager::CodeManager; | ||
| 19 | |||
| 20 | our $project = Prima::CodeManager-> new(); | ||
| 21 | |||
| 22 | $project-> open( 'CodeManager.cm' ); | ||
| 23 | |||
| 24 | foreach ( @ARGV ) { | ||
| 25 | if ( -f $_ ) { | ||
| 26 | $project-> file_edit( $_ ) | ||
| 27 | } else { | ||
| 28 | $project-> open( $_ ); | ||
| 29 | } | ||
| 30 | } | ||
| 31 | |||
| 32 | $project-> loop; | ||
| 33 | |||
| 34 | __END__ |