Hello,
I m a newbie in Perl... I m learning with the llama book but i have some
questions.
I use ActivePerl for Windows 95; everything seems to work: "Hello from
ActivePerl!" appears in the black window when I "click" on the file called
example.pl that contains :
print "Hello from ActivePerl!";
[1] I would like to read the description of problems prompted on the black
window, but it instantanely disapears. How can I force it to keep visible?
[2] I would like to change all filenames of a directory but
- this dont work
rename ("c:/test/essai00*.txt", "c:/test/gagne00*.txt");
- although this work
rename ("c:/test/essai001.txt", "c:/test/gagne001.txt");
Why ? I don't know. Please could anybody help me.
[3] I also would like to make changes in text files with regular
expressions but i obtain empty files.
Here's what I use:
open (DESCRIPTEUR, "+>c:/test/essai006.txt");
while ($_ = <DESCRIPTEUR>) {$_ =~ s/(\w+)/<$1>/g;}
close(DESCRIPTEUR);
[4] Sorry for my english ...and [5] Happy New Year to all of you !
Christophe
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl