in reply to Re^2: getting parts of the strings from a file into managable variables
in thread Help:getting parts of the strings from a file into managable variables

Something like
for my $key (keys %uservariables){ print "User $key has var1: $uservariables{$key}->{var1}, var2: $user +variables{$key}->{var2}"; }
  • Comment on Re^3: getting parts of the strings from a file into managable variables
  • Download Code

Replies are listed 'Best First'.
Re^4: getting parts of the strings from a file into managable variables
by my_perl (Initiate) on Nov 19, 2004 at 19:01 UTC
    Thanks a bunch
    what if var2, var3 shows up few times for single userID
    and i would like just first occurence of var2 and last
    occurence of var3.
    Thanks :)