Re: reading directories using perl in windows

2016-03-13 Thread Shawn H Corey
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

Re: reading directories using perl in windows

2016-03-13 Thread Mike Flannigan
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

Re: reading directories using perl in windows

2016-03-01 Thread Shawn H Corey
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.

Re: reading directories using perl in windows

2016-03-01 Thread Kent Fredric
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

Re: reading directories using perl in windows

2016-03-01 Thread Akshay Mohit
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 );

Re: reading directories using perl in windows

2016-03-01 Thread Raj Barath
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

reading directories using perl in windows

2016-03-01 Thread Arghya Das
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.

Re: using perl in windows

2001-10-31 Thread Jenda Krynicky
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

using perl in windows

2001-10-31 Thread Gary M Rocco
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