 |
|
Home:
Perl Programming Help:
Beginner:
Re: [BillKSmith] Problem printing return value from a subroutine:
Edit Log
|
|

zing
Novice
Oct 4, 2012, 10:38 PM
Views: 2094
|
|
Re: [BillKSmith] Problem printing return value from a subroutine
|
|
|
Bill , after commenting I got this ---------OUTPUT----------
component 2 = e d component 1 = c a b b c a Clearly since, "b c a" is a subset of component1(c a b) therefore it gets printed. But Bill I just want to save this "b c a" in a suitable array/variable etc. As I need it for further processing.That's why I want to save this output,rather than just getting it printed. Also there would be a case for example consider a component 3,which has these points= "a c d e". Then row 2nd and 3rd of "DATA" are a subset of these points.So for component3 I'm expecting this output
component 3 = a c d e induced= a c d d e b I want to save these induced values in a suitable data structure as I need to further process them.
(This post was edited by zing on Oct 4, 2012, 11:20 PM)
|
|
|
Edit Log:
|
|
Post edited by zing
(Novice) on Oct 4, 2012, 11:18 PM
|
|
Post edited by zing
(Novice) on Oct 4, 2012, 11:19 PM
|
|
Post edited by zing
(Novice) on Oct 4, 2012, 11:19 PM
|
|
Post edited by zing
(Novice) on Oct 4, 2012, 11:19 PM
|
|
Post edited by zing
(Novice) on Oct 4, 2012, 11:20 PM
|
|
|  |