Files correlati : Commento : Spostamento in libraries delle librerie esterne di Campo per una maggiore pulizia e organizzazione git-svn-id: svn://10.65.10.50/branches/R_10_00@24150 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			14 lines
		
	
	
		
			254 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			254 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
| #!/usr/bin/env perl
 | |
| # Check that the length of a given URL is correct
 | |
| if ( $#ARGV != 1 )
 | |
| {
 | |
|     print "Usage: $0 string length\n";
 | |
|     exit 3;
 | |
| }
 | |
| if (length(@ARGV[0]) != @ARGV[1])
 | |
| {
 | |
|     print "Given host IP and port not supported\n";
 | |
|     exit 1;
 | |
| }
 | |
| exit 0;
 |