rl.org wrote:
> > Subject:
> > Re: reading directories using perl in windows
> > From:
> > Akshay Mohit
> > Date:
> > 3/1/2016 4:49 AM
> >
> > To:
> > Arghya Das
> > CC:
> > Perl Beginners
> >
> >
> > Could you
perl in windows
From:
Akshay Mohit
Date:
3/1/2016 4:49 AM
To:
Arghya Das
CC:
Perl Beginners
Could you please send the exact error which you are getting as I
Copy/Pasted the exact code which you had given and it is working
properly for me. I have only given the directory which is present in
my
On Tue, 1 Mar 2016 15:53:15 +0530
Arghya Das wrote:
> use warnings;
>
> $dir = "c:/folder/*";my @files = glob( $dir );
> foreach (@files ){
>print $_ . "\n";}
>
>
> i am trying to read windows directory using above code but it gives
> errors in recognising tthe directory path. please help.
On 1 March 2016 at 23:23, Arghya Das wrote:
> $dir = "c:/folder/*";
> my @files = glob( $dir );
>
> foreach (@files ){
>print $_ . "\n";
> }
Personally, I would have used either Path::Tiny, or at least, readdir() here.
There's far few places that can lead to strange bugs and security
holes
Could you please send the exact error which you are getting as I
Copy/Pasted the exact code which you had given and it is working properly
for me. I have only given the directory which is present in my system.
use strict;
use warnings;
my $dir = "C:/Python_Exercise/*";
my @files = glob( $dir );
Try using readdir http://perldoc.perl.org/functions/readdir.html
On Tue, Mar 1, 2016, 5:24 AM Arghya Das
mailto:arghya0...@gmail.com>> wrote:
use warnings;
$dir = "c:/folder/*";
my @files = glob( $dir );
foreach (@files ){
print $_ . "\n";
}
i am trying to read windows directory using abo
use warnings;
$dir = "c:/folder/*";my @files = glob( $dir );
foreach (@files ){
print $_ . "\n";}
i am trying to read windows directory using above code but it gives
errors in recognising tthe directory path. please help.
From: "Gary M Rocco" <[EMAIL PROTECTED]>
> How can perl be used to manipulate windows?
You need Win32::Setupsup
May be installed by PPM from http://Jenda.Krynicky.cz/perl :
ppm install --location=http://Jenda.Krynicky.cz/perl Win32-
Setupsup
HTH, Jenda
=== [EMAIL
Hi!
How can perl be used to manipulate windows? Specifically--if I have an open window
that has been minimized, can I restore it using a perl program? What instructions or
modules are available to perform mouse/keyboard input? When I seach the FAQs, the
results I find seem to be related to