- or download this
use strict;
use warnings;
#use Data::Dumper; $Data::Dumper::Useqq = 1; $| = 1;
#print Dumper( \%some_var );
- or download this
my @tmp;
if ($match){
...
print "@tmp\n";
}
push @arraynew,[@tmp];
- or download this
if ($match){
my @tmp = @line[@sorted_cols];
print "@tmp\n";
push @arraynew, [@tmp];
}
- or download this
if ($match){
my @tmp = @line[@sorted_cols];
print "@tmp\n";
push @arraynew,[@tmp];
}
- or download this
if ($match){
push @arraynew, $_;
print "$_\n";
}
- or download this
my @final_result = map { [ (split "\t")[@sorted_cols] ] }
@{ $arrayref };
- or download this
my @arraynew;
foreach my $key_pos ( keys %conwithposition ) {
- or download this
foreach my $key_pos ( keys %conwithposition ) {
my @arraynew;
- or download this
$ perl -e 'use Data::Dumper; my $x = "foo"; my $x_ref = \$x; print Dum
+per ref($x), ref($x_ref);'
$VAR1 = '';
$VAR2 = 'SCALAR';
- or download this
if (ref $inputval_ref eq 'SCALAR') {
return 1 if ($valuesrc eq $$inputval_ref);
- or download this
if (ref $inputval_ref eq '') {
return 1 if ($valuesrc eq $inputval_ref);
- or download this
my ($op, $arg1, $arg2) = (@{$conwithposition{$key_pos}}[1],@{$conwithp
+osition{$key_pos}}[2],$line[@{$conwithposition{$key_pos}}[0]]);
- or download this
my ( $arg2_pos, $op, $arg1 ) = @{ $conwithposition{$key_pos} };
my $arg2 = $line[ $arg2_pos ];
- or download this
#!/usr/bin/perl
use strict;
...
}
return 0;
}
- or download this
#!/usr/bin/perl
use strict;
...
return $op_match;
}
- or download this
print Dumper \@sorted_cols, \%conwithposition, \@array;