manan.patel has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
i have a hash and from that i access the key values(string) from it. i want to insert a "-" at starting of each and every value(string).
suppose foreach interative $z contain (to) than (from) like that way. now i want to store that scaler value in to one array called @ab. i want to store that scaler value looks like in array is ( -to -from)... please help me for this.. Thanks for tour timeforeach $z ( %abc) { push (@ab, $z}); $ab = join "\-",@ab; }
Back to
Seekers of Perl Wisdom