what I need to do is take the $dn and $samACCOUNTNAME values and pass them into a new array that I can reference for matching to a value in $csv. Any suggestions would be cool...I keep over-complicating this and I am getting frustrated... TIAuse warnings; use strict; my $LDIF = 'c:/test/any.ldf' my $csv = 'c:/test/any.csv' open ("FILE1", $LDIF) || die "can't open $LDIF: $!"; local $/ = "\n\n"; # Set an empty newline as line separator while (<$LDIF>) { my ($dn) = /^dn: (.*)$/m; my ($samACCOUNTNAME) = /^samACCOUNTNAME: (.*)$/m; }
In reply to Passing 2 elements into a new associative array by contrite_newbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |