Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Problem printing return value from a subroutine

by zing (Beadle)
on Oct 04, 2012 at 12:03 UTC ( #997225=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Problem printing return value from a subroutine
in thread Problem printing return value from a subroutine

Dear AM, My problem has been forked off from this thread

http://www.perlmonks.org/?node_id=997085

What Im stuck with is this :: Suppose If component=(a,b,c,d); Then I want to find the set of triplets induced by these 4 vertices. For example for above four points the induced triplets(from input data) should be:
b c a a c d
Whereas for component=(d,e,a) there isn't any triplet in the data. Similarly for component=(b,e,d) there is a triplet (d e b) in the data(the last one). The first two posts there would give you an idea about what Im trying to achieve. Thanks a ton.
__DATA__ b c a a c d d e b


Comment on Re^4: Problem printing return value from a subroutine
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997225]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2015-07-02 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls