in reply to Re^2: file listing within skript not working
in thread file listing within skript not working
Well said moritz ++
McSvenster Perl has many ways to do things,you can also use readdir() function this way,
use strict; use warnings; use Data::Dumper; opendir (DIR, "/home/vinoth/"); my @files = grep /\.xml$/, readdir DIR; print Dumper \@files;
I am not telling this is the best way, but its also one of the way.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: file listing within skript not working
by McSvenster (Novice) on Jan 30, 2013 at 11:59 UTC |
In Section
Seekers of Perl Wisdom