Re: [Perl 5.8.8 on WinXP] Command line usage

2007-06-18 Thread Dr.Ruud
Rob Dixon schreef: > perl -e "print qq($_\n) foreach <*>" which as good as identical to perl -wle "print for <*>" -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: [Perl 5.8.8 on WinXP] Command line usage

2007-06-18 Thread Rob Dixon
Octavian Rasnita wrote: Rob Dixon wrote: John Degen wrote: I'm using Perl 5.8.8 from ActiveState on Windows XP. I'm trying to accomplish a search and replace in a number of files in the same directory from the command line (cmd.exe). The problem is that the command perl -i -e "s/old/new/" *

Re: [Perl 5.8.8 on WinXP] Command line usage

2007-06-18 Thread Octavian Rasnita
ir accepts wildcards, then the perl program could do anything with those files, like opening them, modifying Octavian - Original Message - From: "Rob Dixon" <[EMAIL PROTECTED]> To: Cc: "John Degen" <[EMAIL PROTECTED]> Sent: Monday, June 18, 2007 5:48 PM

Re: [Perl 5.8.8 on WinXP] Command line usage

2007-06-18 Thread Rob Dixon
John Degen wrote: I'm using Perl 5.8.8 from ActiveState on Windows XP. I'm trying to accomplish a search and replace in a number of files in the same directory from the command line (cmd.exe). The problem is that the command perl -i -e "s/old/new/" * fails silently, i.e. no changes take place. M

Re: [Perl 5.8.8 on WinXP] Command line usage

2007-06-18 Thread John Degen
was perl -i -e "s/ve/ver/" *.* Any other ideas I might try? Regards, John - Original Message From: Bob McConnell <[EMAIL PROTECTED]> To: John Degen <[EMAIL PROTECTED]>; beginners@perl.org Sent: Monday, June 18, 2007 2:31:00 PM Subject: RE: [Perl 5.8.8 on WinXP]

RE: [Perl 5.8.8 on WinXP] Command line usage

2007-06-18 Thread Bob McConnell
> From: John Degen [mailto:[EMAIL PROTECTED] > Sent: Monday, June 18, 2007 8:26 AM > To: beginners@perl.org > Subject: [Perl 5.8.8 on WinXP] Command line usage > > Hello, > > I'm using Perl 5.8.8 from ActiveState on Windows XP. I'm > trying to accomplish a sea

[Perl 5.8.8 on WinXP] Command line usage

2007-06-18 Thread John Degen
Hello, I'm using Perl 5.8.8 from ActiveState on Windows XP. I'm trying to accomplish a search and replace in a number of files in the same directory from the command line (cmd.exe). The problem is that the command perl -i -e "s/old/new/" * fails silently, i.e. no changes take place. My question