Search Results

Search: Posts Made By: javaholics
2,820
Posted By bartus11
You don't need to create your own subroutine for...
You don't need to create your own subroutine for that. Just use "grep":grep {$_ eq $entityName} @array_to_be_checked;
1,133
Posted By balajesuri
#! /usr/bin/perl -w use strict; sub...
#! /usr/bin/perl -w
use strict;

sub getListenerName {
my $port = shift;
my @a = ();

open F, "< file";
while (<F>) {
chomp;
if (/([^ ]*).+?$port/) {
...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 02:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy