Matt Lawrence wrote:
The real test is whether chr $u > 255. Of course the data is passed
through correctly whether or not perl understands that it's unicode data.
I said chr here, but I just noticed that I really meant ord *sigh*
Matt
On Thu, Jun 3, 2010 at 1:17 PM, Dave Hodgkinson wrote:
> On 3 Jun 2010, at 00:52, Mark Fowler wrote:
>> On Wed, Jun 2, 2010 at 4:29 PM, Dave Hodgkinson wrote:
>>> On 2 Jun 2010, at 21:38, Egor Shipovalov wrote:
use File::Slurp;
>>> This is the start of most scripts I've been writing recently
On 3 Jun 2010, at 20:56, Matt Lawrence wrote:
> The real test is whether chr $u > 255. Of course the data is passed through
> correctly whether or not perl understands that it's unicode data.
And thank you to Ilmari and Zefram for the clue bat on all things
UTF8 and indeed utf-8.
Kieren Diment wrote:
On 03/06/2010, at 8:06 PM, Steve Mynott wrote:
On Wed, Jun 02, 2010 at 05:52:40PM +0100, Mark Fowler typed:
On Wed, Jun 2, 2010 at 4:29 PM, Dave Hodgkinson wrote:
On 2 Jun 2010, at 21:38, Egor Shipovalov wrote:
use File::Slurp;
This
On 03/06/2010, at 8:06 PM, Steve Mynott wrote:
> On Wed, Jun 02, 2010 at 05:52:40PM +0100, Mark Fowler typed:
>
>> On Wed, Jun 2, 2010 at 4:29 PM, Dave Hodgkinson wrote:
>>
>>> On 2 Jun 2010, at 21:38, Egor Shipovalov wrote:
use File::Slurp;
>>>
>>> This is the start of most scripts I've
On Jun 3, 2010, at 5:06 AM, Steve Mynott wrote:
> On Wed, Jun 02, 2010 at 05:52:40PM +0100, Mark Fowler typed:
>
>> On Wed, Jun 2, 2010 at 4:29 PM, Dave Hodgkinson wrote:
>>
>>> On 2 Jun 2010, at 21:38, Egor Shipovalov wrote:
use File::Slurp;
>>>
>>> This is the start of most scripts I've
On 3 Jun 2010, at 00:52, Mark Fowler wrote:
> On Wed, Jun 2, 2010 at 4:29 PM, Dave Hodgkinson wrote:
>
>> On 2 Jun 2010, at 21:38, Egor Shipovalov wrote:
>>> use File::Slurp;
>>
>> This is the start of most scripts I've been writing recently.
>
> I dumped this since I started using Path::Clas
On 3 Jun 2010, at 18:41, Dagfinn Ilmari Mannsåker wrote:
> ilm...@ilmari.org (Dagfinn Ilmari Mannsåker) writes:
>
>> it can't possibly know the encoding of an arbitrary.
>
> Of an arbitrary file, of course.
No, I like the word you just nouned. Retribution for all the
verbing that's been going
ilm...@ilmari.org (Dagfinn Ilmari Mannsåker) writes:
> it can't possibly know the encoding of an arbitrary.
Of an arbitrary file, of course.
--
ilmari
"A disappointingly low fraction of the human race is,
at any given time, on fire." - Stig Sandbeck Mathisen
Steve Mynott writes:
> On Wed, Jun 02, 2010 at 05:52:40PM +0100, Mark Fowler typed:
>
>> On Wed, Jun 2, 2010 at 4:29 PM, Dave Hodgkinson wrote:
>>
>> > On 2 Jun 2010, at 21:38, Egor Shipovalov wrote:
>> >> use File::Slurp;
>> >
>> > This is the start of most scripts I've been writing recently.
On Wed, Jun 02, 2010 at 05:52:40PM +0100, Mark Fowler typed:
> On Wed, Jun 2, 2010 at 4:29 PM, Dave Hodgkinson wrote:
>
> > On 2 Jun 2010, at 21:38, Egor Shipovalov wrote:
> >> use File::Slurp;
> >
> > This is the start of most scripts I've been writing recently.
>
> I dumped this since I start
On Mon, May 31, 2010 at 06:29, Ovid wrote:
> Does anyone have any *working* code (I've seen plenty of failing examples)
> they can share which demonstrates making a successful post to blogger? I've
> failed with both Net::Blogger and Atompub
> (http://stackoverflow.com/questions/2942998/cant-p
Maybe i m going to burn in hell for this heresy, but if you're interested, I
ve got a python script that does what you'd like.
Jerome.
On 3 Jun 2010 08:26, "Ovid" wrote:
- Original Message
> From: Egor Shipovalov
> Sorry, forgot to men...
Actually, WWW::Blogger::XML doesn't say any
- Original Message
> From: Egor Shipovalov
> Sorry, forgot to mention: you must have a file called something
> like
.www_blogger in you home directory, containing login credentials.
> See
perldoc for WWW::Blogger::XML for details.
Actually, WWW::Blogger::XML doesn't say anything ab
On Wed, Jun 2, 2010 at 4:29 PM, Dave Hodgkinson wrote:
> On 2 Jun 2010, at 21:38, Egor Shipovalov wrote:
>> use File::Slurp;
>
> This is the start of most scripts I've been writing recently.
I dumped this since I started using Path::Class all the time.
my $content = file("something")->slurp
Ma
On 2 Jun 2010, at 21:38, Egor Shipovalov wrote:
>
> #!/usr/bin/perl
>
> use strict;
> use warnings;
>
> use Getopt::Long;
> use LWP::Simple;
> use HTML::Entities;
> use URI::Escape;
> use XML::Simple;
> use File::Slurp;
> use Data::Dumper;
This is the start of most scripts I've been writing r
Sorry, forgot to mention: you must have a file called something like
.www_blogger in you home directory, containing login credentials. See
perldoc for WWW::Blogger::XML for details.
On Wed, Jun 2, 2010 at 2:38 PM, Egor Shipovalov wrote:
> Here it goes. It's not exactly generic because it's desig
Here it goes. It's not exactly generic because it's designed to be
called from Emacs org-mode, but I hope it will be useful for you.
# BEGIN CODE
#!/usr/bin/perl
use strict;
use warnings;
use Getopt::Long;
use LWP::Simple;
use HTML::Entities;
use URI::Escape;
use XML::Simple;
use WWW::Blogger::
> That would be fantastic! It appears that blogger no longer has an XMLRPC
> interface, so Net::Blogger
> is pretty much guaranteed to not work. Working with WWW::Google::API right
> now, but still getting nowhere.
If you produce something suitably generic I'll do my best to get it
linked to (a
--- On Tue, 1/6/10, Egor Shipovalov wrote:
> From: Egor Shipovalov
> I do, but the code is on my laptop at
> home. As far as I recall it
> doesn't use either of these modules, but some different
> one. I'll try
> post it here tomorrow about the same time.
That would be fantastic! It appears th
I do, but the code is on my laptop at home. As far as I recall it
doesn't use either of these modules, but some different one. I'll try
post it here tomorrow about the same time.
Best regards,
Egor Shipovalov.
On Mon, May 31, 2010 at 2:29 PM, Ovid wrote:
> Does anyone have any *working* code (I'
Does anyone have any *working* code (I've seen plenty of failing examples) they
can share which demonstrates making a successful post to blogger? I've failed
with both Net::Blogger and Atompub
(http://stackoverflow.com/questions/2942998/cant-post-with-perls-netblogger).
Cheers,
Ovid
--
Buy th
22 matches
Mail list logo