[27558] in Perl-Users-Digest
Perl-Users Digest, Issue: 9103 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Mar 29 14:05:34 2006
Date: Wed, 29 Mar 2006 11:05:04 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Wed, 29 Mar 2006 Volume: 10 Number: 9103
Today's topics:
Re: file renamer... request feedback <rvtol+news@isolution.nl>
Re: Find duplicates in a dat file axel@white-eagle.invalid.uk
Re: Help calling perl from gnu make on windows <rvtol+news@isolution.nl>
Re: XML::Simple and utf8 woes <noone@nowhere.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 29 Mar 2006 18:32:35 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: file renamer... request feedback
Message-Id: <e0ek0d.1g0.1@news.isolution.nl>
Tad McClellan schreef:
> Tacking a character onto the end should *look like* you are
> tacking a character onto the end:
>
> $_ .= '_';
Alternative: s/$/_/;
(but I like your concat better)
--
Affijn, Ruud
"Gewoon is een tijger."
echo 014C8A26C5DB87DBE85A93DBF |perl -pe 'tr/0-9A-F/JunkshoP cartel,/'
------------------------------
Date: Wed, 29 Mar 2006 18:03:31 GMT
From: axel@white-eagle.invalid.uk
Subject: Re: Find duplicates in a dat file
Message-Id: <TZzWf.44298$wl.30245@text.news.blueyonder.co.uk>
Tami@des.com wrote:
>>If you concatenated all the files into a single file, this should work
> Do you mean that I put all the dat files in one folder?
> If the above then they are all in one folder called "users".
> If you mean put all the information from all the dat files inside ONE dat file that would
> be impossible, as there are loads of them.
You must have a lot of data then :)
You could use File::Find or 'glob' as others have mentioned.
Or you could pipe the files into a perl script:
cat *.dat | myscript.pl
and read the data from standard input.
Axel
------------------------------
Date: Wed, 29 Mar 2006 18:34:50 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: Help calling perl from gnu make on windows
Message-Id: <e0ek0e.1g0.1@news.isolution.nl>
Random Task schreef:
> I am calling perl from gnu make on windows and I am having a problem
> with "arguments with spaces".
Did you try to put "" around them?
--
Affijn, Ruud
"Gewoon is een tijger."
echo 014C8A26C5DB87DBE85A93DBF |perl -pe 'tr/0-9A-F/JunkshoP cartel,/'
------------------------------
Date: Wed, 29 Mar 2006 11:08:11 -0500
From: Dennis Roesler <noone@nowhere.com>
Subject: Re: XML::Simple and utf8 woes
Message-Id: <1143648476.333372@newsreg.cos.agilent.com>
corff@zedat.fu-berlin.de wrote:
> Dennis Roesler <noone@nowhere.com> wrote:
>
> : I've been following this thread because I have been struggling with
> : XML::Simple writing/sourcing an XML file in cp932 encoding. The
> : NumericEscape is what resolved the writing and setting the encoding in
> : the xml declaration of the cp932 encoded file to x-sjis-cp932 so
> : XML::Simple would source it properly took me awhile to figure out :-(.
>
> [ good examples snipped ]
>
> Hi Dennis and all others who have contributed to this thread,
>
> Thank you very much for your input.
>
> I followed the idea of the broken SAX module and decided to make other
> parsers usable by XML::SAX and by simply installing SAX::Expat as well
> as XML::LibXML (my code now uses the latter, automagically) the script
> finally runs flawlessly. What a mess of a difficult delivery it was!
>
Thanks for the update. I will look into SAX::Expat and XML::LibXML
Dennis
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 9103
***************************************