GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LIST::FLATTEN (3)

.ds Aq ’

NAME

List::Flatten - Interpolate array references in a list

CONTENTS

VERSION

Version 0.01

SYNOPSIS



    use List::Flatten;

    my @foo = (1, 2, [3, 4, 5], 6, [7, 8], 9);
    # @foo contains 6 elements, 2 of them are array references
   
    my @bar = flat @foo;
    # @bar contains 9 elements, same as (1 .. 9)



EXPORT

Exports the only function <B>flatB> by default.

FUNCTIONS

    flat

<B>Arguments:B> a list of arbitrary values, parantheses for <B>flatB> are optional.

<B>Returns:B> the same list, except that the values of any array references are interpolated into the list. Does not work recursively!

AUTHOR

Darko Obradovic, <dobradovic at gmx.de>

BUGS

Please report any bugs or feature requests to bug-list-flatten at rt.cpan.org, or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=List-Flatten>. I will be notified, and then you’ll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.



    perldoc List::Flatten



You can also look for information at:
o RT: CPAN’s request tracker

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=List-Flatten>

o AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/List-Flatten>

o CPAN Ratings

<http://cpanratings.perl.org/d/List-Flatten>

o Search CPAN

<http://search.cpan.org/dist/List-Flatten>

COPYRIGHT & LICENSE

Copyright 2009 Darko Obradovic, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 LIST::FLATTEN (3) 2009-03-13

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.