in reply to Iterate trough a series of folders

I am unsure this works in Windows (as it probably uses the shell expansion), but try this:
@tumorfiles = sort <C:/Users/ST/DesktopSample/*/*>;

Where that * can be as complex as <C:/Users/ST/DesktopSample/TUMOR-*/*.dat>

Replies are listed 'Best First'.
Re^2: Iterate trough a series of folders
by Discipulus (Canon) on Apr 05, 2016 at 07:32 UTC
    I confirm that this works even on windows (but only with / as path separator: see File::Glob notes).

    i must admit i never used this construct (but directly glob ). it is described in the IO operators

    perl -E "say for sort <./*/*.pm>" | grep -c . 4

    See also Re: Searching for specific text for more examples and the difference between iterative and recursive solutions.

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.