Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Problem printing return value from a subroutine

by AnomalousMonk (Abbot)
on Oct 04, 2012 at 11:15 UTC ( #997220=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub induced {
    my (@z)=@_;
    ...
            return (@$triplet);
        }
    }}
    
  2. or download this
    for my $QT (\@z ){
            ...
    ...
            print "@$triplet\n" if keys(%Pie) <= ( @$QT - @$triplet ) ;
            ...
    }
    
  3. or download this
        for my $triplet ( @trip ){
            my %Pie;
    ...
            print "@$triplet\n" if keys(%Pie) <= ( @$QT - @$triplet ) ;
            return (@$triplet);
        }
    
  4. or download this
    sub induced {
    
    ...
        return @$triplet;
        
        }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2015-07-28 15:54 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 (257 votes), past polls