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/
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/" *
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
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
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]
> 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
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