Microsoft Windows XP Professional 2002 - ONLY $34.95 NOT $270.95. FREE SHIPPING! http://cdsoftware.alisasoft.biz/...
17260
Yevgueny
dneprbeb
Dec 1, 2003 9:19 am
Help me, please, with this small problem. I just want to get a list of files in a directory. opendir (DIR, "C:\\APP"); foreach (readdir (DIR)) { print "$_\n"; ...
17261
gordon Stewart
gordonstewart5@...
Dec 1, 2003 9:36 am
... Sorry I dont have Win 2000 - so cant test..:- However this seems to work for me :- my @databack; my @directories; my $datadir="/www/g/my/directory/"; ...
17262
DBM Krishna
krishna@...
Dec 1, 2003 9:39 am
Hi all, I have installed perl from active state. I am able to connect only few repositories and install the modules from those repositories, but how could I...
17263
Damien Carbery
daymobrew
Dec 1, 2003 9:46 am
... Does the C:\APP directory exist? Does it have files in it? I ask this because the code looks fine....
17264
gordon Stewart
gordonstewart5@...
Dec 1, 2003 9:54 am
... If you downloaded the Windows MSI package - you shouldnt need any compiling.. However (its a LONG time since i did this).. but when I installed it, it ...
17265
merlyn@...
merlynstoneh...
Dec 1, 2003 10:10 am
... gordon> my @databack; gordon> my @directories; gordon> my $datadir="/www/g/my/directory/"; gordon> opendir(D, "$datadir") or my_die("Error in subroutine...
17266
Yevgueny
dneprbeb
Dec 1, 2003 11:39 am
... see ... I can't get why do those dots appear? Moreover, they go as directories. What do they mean?...
17267
gordon Stewart
gordonstewart5@...
Dec 1, 2003 12:13 pm
... Those dots are directories... - one of them is the parent directory, the other is the one above the directory youre listing... G ...
17268
Damien Carbery
daymobrew
Dec 1, 2003 12:29 pm
... If you go into any directory there are always two directory entries: '.' and '..' '.' points to the current directory '..' points to the parent directory....
17269
poorraining03
Dec 1, 2003 8:35 pm
hi, $a = c:\dir192;dir292;foo.doc want to change to $a = c:/dir1/dir2/foo.doc i use $a= ~s/\///g; and use split("\",$a); it doesn't work anybody can help...
17270
Farrell, Stephanie
stephasaurus...
Dec 1, 2003 8:43 pm
What does it do? And what are you trying to do? There are modules to handle the delimiters in paths that might be better suited to what you're trying to do....
17271
Stern, Leon
painter_man
Dec 1, 2003 9:00 pm
I think what you want is this $a = 'c:\dir1\dir2\foo.doc39; print $a c:\dir192;dir292;foo.doc $a =~ s/\\/\//g print $a c:/dir1/dir2/foo.doc Leon ... From:...
17272
Charles K. Clarkson
charlesclarkson
Dec 1, 2003 11:45 pm
... I think you mean that '.' refers to the current directory and '..' refers to its parent directory. When you're working form the command line, they make for...
17273
Baek, Steve
BaekS@...
Dec 1, 2003 11:50 pm
Haha. j/k.... Steve Baek ... From: Charles K. Clarkson [mailto:cclarkson@...] Sent: Monday, December 01, 2003 3:35 PM To: perl-beginner@yahoogroups.com ...
17274
Jeff Eggen
jeggen@...
Dec 2, 2003 2:44 pm
Hi all, I'm trying to compile stats for various webservers at use in my environment, and thought I'd use Spreadsheet::WriteExcel to store the data in Excel to...
17275
Hans Ginzel
hans@...
Dec 2, 2003 5:42 pm
Hello, can someone please explain the tricks in Exporter.pm? Can you make a small demo, when (caller(1))[3] "does not work"? How perl interprets goto...
17276
reza7310
Dec 2, 2003 9:34 pm
Hi, I have programmed with perl for a long time but never on windows, I downloaded activeperl yesterday and It seemed to be very hard to program in it. is...
The only thing that I can think of would be to use XML::Excel (converts Excel to XML - I've never used it so I don't know how well it works). Then recreate the...
17279
Damien Carbery
daymobrew
Dec 3, 2003 9:41 am
... What part of programming with ActiveState39;s perl is hard? Is it the lack of a suitable editor? There was a discussion last week on editors with multiple...
17280
Hans Ginzel
hans@...
Dec 3, 2003 11:03 am
Hello, I have on perl module called Bb.pm: package Bb; sub bb { warn "bb"; } 1; and a programm called c.pl: require Bb; @ISA = qw(Bb); bb(); When I invoke perl...
17281
DBM Krishna
krishna@...
Dec 3, 2003 11:03 am
I have problem with installing the modules in the windows version ...I don't know how to use nmake and compilation of .c and .h files using PPM is very easy...
17282
Damien Carbery
daymobrew
Dec 3, 2003 11:30 am
... I looked around ActiveState39;s web site and found an email address where you can ask that they include a module in the PPM repository. email:...
17283
merlyn@...
merlynstoneh...
Dec 3, 2003 11:31 am
... Hans> Why is the @ISA array not searched and/or the Bb::bb() not found? @ISA is for objects, not just a general subroutine search path. See "perldoc...
17284
Hans Ginzel
hans@...
Dec 3, 2003 12:15 pm
... Thank you for a quick answer. ... How it works when Exporter is used? Program uses module which does not have it's import() but requires Exporter and has...
17285
Jeff Eggen
jeggen@...
Dec 3, 2003 1:11 pm
... I had looked at the XML::Excel module on CPAN, and figured that would be the way to go if the direct Excel method didn't pan out, which it looks like it...
17286
merlyn@...
merlynstoneh...
Dec 3, 2003 1:18 pm
... Hans> How it works when Exporter is used? Exporter is not related to @ISA at all. They are different mechanisms. Please read perlboot and perlmod. -- ...
17287
Hans Ginzel
hans@...
Dec 3, 2003 2:14 pm
... I read allmost all perl* pages. I want to perfectly understand the Eporter "different" mechanisms. There is in the SYNOPSIS section of Exporter package...
17288
Hans Ginzel
hans@...
Dec 3, 2003 2:38 pm
... I got it: sub a { warn join "\t", caller(0); b(); } sub b { warn join "\t", caller(0); warn join "\t", caller(1); } *c = \&a; c() The caller(1) at b()...