Re: https://metacpan.org/pod/OpenOffice::OODoc

2024-01-31 Thread hw
t; Range("B2") -> Activate; > $ex -> ActiveWindow -> {FreezePanes} = "True"; > > > Mike > > > On 1/28/24 16:26, hw wrote: > > So how do I freeze rows/columns? > > -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: https://metacpan.org/pod/OpenOffice::OODoc

2024-01-28 Thread hw
On Sun, 2024-01-28 at 22:44 +0100, hw wrote: > Hmm, cellValue() always puts text. How do I put numbers and formulars > instead? Ok, it's cellFormula(), and you have to change the value type of every cell that should contain anything having a type different from the default type of the

Re: Are there any ALSA Perl Modules?

2024-01-28 Thread hw
On Sun, 2024-01-28 at 13:27 -0600, Martin McCormick wrote: > [...] > I may be looking in the wrong places but, so far, I seem > to be batting zeros when looking for perl and alsa together. > > Any good ideas are greatly appreciated, here. I would think that one nowadays would use (go

Re: https://metacpan.org/pod/OpenOffice::OODoc

2024-01-28 Thread hw
On Sun, 2024-01-28 at 12:21 -0800, Jim Gibson via beginners wrote: > Check out the OpenOffice::OODoc module on CPAN: > > > The documentation is a little sparse, especially with regard to “spreadsheet” > mode, and I don’t have Libre Office on my

Re: https://metacpan.org/pod/OpenOffice::OODoc

2024-01-28 Thread hw
On Thu, 2024-01-25 at 20:28 -0600, Mike wrote: > It can be done with a Perl module: > https://unix.stackexchange.com/questions/723650/editing-libreoffice-calc-spreadsheets-in-the-terminal > > I have not tested that. I do not want to edit spreadsheets in a terminal. There's some other software

https://metacpan.org/pod/OpenOffice::OODoc

2024-01-25 Thread hw
Hi, is there a way to create libreoffice spreadsheets (ods) similar to Excel::Writer::XLSX? There is OpenOffice::OODoc and I don't see how to create spreadsheet documents with that. Is there still no way to do that? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional

Re: How to reboot?

2024-01-15 Thread hw
On Sat, 2024-01-13 at 22:53 +, Tim Lewis via beginners wrote: > To send email to text for the main carriers in the US: > AT > Compose a new email and enter the recipient's 10-digit wireless number, > followed by @txt.att.net. > T-Mobile > Write a new email message. > Enter the recipients

Re: How to reboot?

2024-01-13 Thread hw
On Sat, 2024-01-13 at 17:09 +, Tim Lewis via beginners wrote: > You bring an excellent point about the ability to spoof the email address. > In my case the email that for the server is not made public, but that is a > vulnerability. I will have to read up on pwgen. That sounds like a good >

Re: lambda array

2024-01-13 Thread hw
that's like foreach my $foo (@['bar', 'baz']) I'd guess I remember correctly and it would kinda make sense ... But still ... Parentheses should take precendence, shouldn't they? > Andrew > > On Sat, Jan 13, 2024 at 2:51 PM hw wrote: > > > Hi, > > > > how do I p

Re: How to reboot?

2024-01-13 Thread hw
On Sat, 2024-01-13 at 08:49 -0600, twlewis via beginners wrote: > Hi hw, I had a similar situation in which I travelled. I wanted to > lock down the ufw firewall but be able to allow certain IP addresses > based on the hotel IP or my cell service IP. To that I developed > Perl that

Re: How to reboot?

2024-01-13 Thread hw
On Sat, 2024-01-13 at 10:24 +0530, Andinus via beginners wrote: > hw @ 2024-01-12 18:49 +01: > > > Thanks, I thought about sudo and figured it needs a password being > > entered. If that works without, I'll start programming and test if > > something else gets in

lambda array

2024-01-13 Thread hw
Hi, how do I pass an array that is created on the fly as one parameter of a function? Example: use feature 'signatures'; no warnings 'experimental::signatures'; sub reply_multi ( $xmpp_o, $rcpts, $msg ) { foreach my $rcpt (@$rcpts) { $$xmpp_o->MessageSend( type => 'chat', to =>

Re: How to reboot?

2024-01-12 Thread hw
On Fri, 2024-01-12 at 21:39 +0530, Andinus via beginners wrote: > hw @ 2024-01-12 14:16 +01: > > > But how can I reboot/restart the computer from the xmpp client? I > > don't want the xmpp client to run as root all the time. I would use > > something like > > &

How to reboot?

2024-01-12 Thread hw
Hi, I would like to write a program (daemon) which will be automatically started by systemd at boot which will allow me to reboot or restart my computer through commands sent via xmpp. The xmpp part (xmpp client) and starting that program is no problem. But how can I reboot/restart the computer

Can a perl programmer find jobs today?

2023-02-17 Thread winnie hw
I know perl/ruby/python and use all of them for work. But I didn't see an employer seeking the perl programmer. Can we the perl programmers find any professional jobs today? Thanks.

Re: How to can develop a program

2022-08-05 Thread hw
On Mon, 2022-08-01 at 14:50 -0600, William Torrez Corea wrote: > On Mon, Aug 1, 2022 at 8:16 AM Christian Walde > > wrote: > > > On Sat, 23 Jul 2022 21:03:18 +0200, William Torrez Corea < > > willitc9...@gmail.com> wrote: > > > > My goal: I want to create > > > > > > Being that you barely

Re: How to can develop a program

2022-08-01 Thread hw
On Sun, 2022-07-31 at 21:06 -0600, William Torrez Corea wrote: > On Sun, Jul 31, 2022 at 8:55 PM hw wrote: > > > On Sun, 2022-07-31 at 18:04 -0600, William Torrez Corea wrote: > > > On Sun, Jul 31, 2022 at 5:57 PM Marco Shaw > > > wrote: > > > >

Re: How to can develop a program

2022-07-31 Thread hw
On Sun, 2022-07-31 at 18:04 -0600, William Torrez Corea wrote: > On Sun, Jul 31, 2022 at 5:57 PM Marco Shaw > wrote: > > > Being a novice, you have to realize there are certain limitations > > to > > things.  In other words, Perl maybe can't do EVERYTHING you want it > > to. > > > > Very

Re: How to can develop a program

2022-07-31 Thread hw
On Sun, 2022-07-31 at 17:34 -0600, William Torrez Corea wrote: > Where can I start? > > I am Script kiddie, I have zero knowledge about Perl. I need a > stimulus. > > For example: I am executing perl examples. > > But the project i don't know how to start. > > https://learn.perl.org/ Always

Re: How to can develop a program

2022-07-30 Thread hw
Well, what can you do with your bare hands? Build tools so you can do stuff, starting with using stones and the like for tools? On Fri, 2022-07-29 at 13:26 -0600, William Torrez Corea wrote: > On Fri, Jul 29, 2022 at 11:38 AM hw wrote: > > > On Sat, 2022-07-23 at 13:03 -0600, Wi

Re: How to can develop a program

2022-07-29 Thread hw
On Sat, 2022-07-23 at 13:03 -0600, William Torrez Corea wrote: > My goal: I want to create something similar to the phone guide. In > this > page exist a great number of documents in format pdf. So, I want to > unite > the different documents and can filter for name, last name, location. > If I >

Re: Please help: perl run out of memory

2022-04-26 Thread hw
On Sun, 2022-04-17 at 17:33 +0800, wilson wrote: > hello the experts, > > can you help check my script for how to optimize it? > currently it was going as "run out of memory". > > $ perl count.pl > Out of memory! > Killed I would use a database like Mariadb for this, not only to create a

Re: avoid errors when printing to socket

2021-10-02 Thread hw
On Fri, 2021-10-01 at 17:01 -0500, Andy Bach wrote: > > If the signal would be caught, I could handle the error and try to > reconnect, or, if that also fails, do something else. > > Oh. I was thinking you wanted it to check the connection before trying to > print. Well, the print stmt returning

Re: avoid errors when printing to socket

2021-09-30 Thread hw
On Thursday, September 30, 2021 9:30:01 PM CEST Andy Bach wrote: > > https://perldoc.perl.org/functions/print says that 'print' would return > > true > > > if successful and doesn't say what it returns otherwise. It also says > > that > > > "Printing to a closed pipe or socket will generate a

avoid errors when printing to socket

2021-09-30 Thread hw
Hi, I have a program in which I'm creating an UDP socket with IO::Socket::INET to a device on my LAN. Opening the socket yields no error. Writing to the socket with 'print' works fine. The device sends data back, and receiving the data works fine. But it doesn't work when the device is

Re: Where do messages sent with syslog go when there is only a journal?

2020-05-28 Thread hw
On Tuesday, May 19, 2020 6:37:41 PM CEST Andy Bach wrote: > Huh, news to me: > https://www.loggly.com/ultimate-guide/using-journalctl/ > > cpan shows at least 5 modules for handling journald stuff, Log::Journald > shows > use Log::Journald; > use Sys::Syslog qw/:macros/; > > # Easy. >

Where do messages sent with syslog go when there is only a journal?

2020-05-18 Thread hw
Hi, where do messages sent with syslog go when there is only a journal? When using Sys::Syslog, there don't seem to be any messages in the journal. Does Sys::Syslog need to updated? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail:

Re: reading data from a web site

2019-11-21 Thread hw
On Thursday, November 21, 2019 8:34:09 AM CET Olivier wrote: > hw wrote: > > On Wednesday, November 20, 2019 3:29:00 AM CET Olivier wrote: > > > hw writes: > > > > Hi, > > > > > > > > how can I read data from a web site which is usi

Re: reading data from a web site

2019-11-21 Thread hw
On Thursday, November 21, 2019 7:57:49 AM CET Shlomi Fish wrote: > On Wed, 20 Nov 2019 19:52:46 +0100 > > [...] > > Can WWW::Mechanize somehow trick the server into assuming that frames and > > javascript are supported by the client? > > Hi! > > See: > >

Re: reading data from a web site

2019-11-20 Thread hw
On Wednesday, November 20, 2019 3:29:00 AM CET Olivier wrote: > hw writes: > > Hi, > > > > how can I read data from a web site which is using multiple frames and > > some > > javascript? > > Provided that the web site does not change too often and that

Re: about package method returns

2019-11-19 Thread hw
On Friday, November 1, 2019 1:49:31 AM CET Maggie Q Roth wrote: > If Net::Ping gets failure and has the special statement for the failure, > how can return this statement to the caller? The ping() method never fails, see https://metacpan.org/pod/Net::Ping . Return returns by returning, like

reading data from a web site

2019-11-19 Thread hw
Hi, how can I read data from a web site which is using multiple frames and some javascript? When using a web browser, I need to log in into the web site and follow a couple links to finally get to the page I want. This page I need to get data from has a frame with a select list and another

how to send a file via xmpp?

2018-11-23 Thread hw
Hi, how can I get my program to send a file via xmpp? Sending and receiving messages with Net::XMPP works fine, yet base64-encoding the files to send them as messages isn't really an option because there would be too many clients unable to decode them. -- To unsubscribe, e-mail:

Re: Net::XMPP::Client

2018-08-24 Thread hw
On 06/15/2018 11:59 PM, Chas. Owens wrote: Look at the SetMessageCallBacks method in Net::XMPP::Protocol.   It lets you set the function to run when a message of a specific type comes in. Thanks, that works great :) On Fri, Jun 15, 2018 at 5:34 AM hw mailto:h...@gc-24.de>>

Re: Net::XMPP::Client

2018-06-15 Thread hw
On 06/15/2018 02:21 PM, Chas. Owens wrote: In Net::XMPP::Client it says For a full list of high level functions available please see Net::XMPP::Protocol. In that documentation it says $Con = new Net::XMPP::Client(); # From $status = $Con->Connect(hostname=>"jabber.org "); #

Re: Net::XMPP::Client

2018-06-15 Thread hw
On 06/15/2018 12:37 PM, hw wrote: Hi, using Net::XMPP::Client, I am able to send messages, but I don´t see a way to receive messages.  The documentation leaves me entirely in the dark as to how to do this, and I couldn´t find an example using this module to receive messages. So how can I

Net::XMPP::Client

2018-06-15 Thread hw
Hi, using Net::XMPP::Client, I am able to send messages, but I don´t see a way to receive messages. The documentation leaves me entirely in the dark as to how to do this, and I couldn´t find an example using this module to receive messages. So how can I receive messages? -- To

Re: [^/]* Is Not Working

2018-03-18 Thread hw
John SJ Anderson writes: >> But this one in its place does not work: >> if ($link =~ m/\/([^/]*)$/) { # Oddly this does not work > > You still need to escape the `/` inside the character class. > > This works in my testing: `m/\/([^\/]*)$/`. > > IMO this is a case where an

Re: compute depth of word in line

2018-03-10 Thread hw
"John W. Krahn" <jwkr...@shaw.ca> writes: > On Sat, 2018-03-10 at 00:14 +0100, hw wrote: >> >> Not really, the words I get from the ReadLine functions are not >> organized in an array. >> >> I´ve come up with this function to compute the &quo

Re: compute depth of word in line

2018-03-09 Thread hw
Jostein Berntsen <jber...@broadpark.no> writes: > On 25.02.18,18:32, hw wrote: >> Hi, >> >> what is the best way to find out the depth of the last word within a >> line? "Depth of a word" means "how many other words occur before the >>

Re: Term::ReadLine

2018-03-09 Thread hw
Jostein Berntsen <jber...@broadpark.no> writes: > On 25.02.18,16:44, hw wrote: >> Hi, >> >> how do I disable the underlining of the prompt when using Term::ReadLine >> with GNU readline? >> > > Check this: > > https://www.nntp.perl.org/gro

Term::ReadLine

2018-02-26 Thread hw
Hi, how do I disable the underlining of the prompt when using Term::ReadLine with GNU readline? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: alternative to feature 'signatures'?

2018-02-26 Thread hw
Илья Рассадин writes: > Why can't you use 'signatures' feature at the first place? The perl version I am required to use does not support it. > Usually, it means that you tight yourself to system perl, which is not > a good decision at all. > > Don't trust me on this,

compute depth of word in line

2018-02-26 Thread hw
Hi, what is the best way to find out the depth of the last word within a line? "Depth of a word" means "how many other words occur before the last one?". The background is that I want to write a CLI. The CLI shall know a number of commands like 'show', 'set', 'alias' and so on. Using

Re: alternative to feature 'signatures'?

2017-12-14 Thread hw
hw <h...@adminart.net> writes: > Gil Magno <gilma...@gilmagno.com> writes: > >> On 19/11/17 13:57, hw wrote: >>> without being able to use feature 'signatures', how do I verify >>> that parameters passed to a function have been passed to it by >

keyboard leds

2017-11-28 Thread hw
Hi, is it somehow possible to switch a keyboard LED on and off from a perl program which is running within tmux, regardless if a terminal is currently attached to the tmux session? I tried setleds, and it didn´t even work when a terminal was attached. -- To unsubscribe, e-mail:

Re: alternative to feature 'signatures'?

2017-11-28 Thread hw
Gil Magno <gilma...@gilmagno.com> writes: > On 19/11/17 13:57, hw wrote: >> without being able to use feature 'signatures', how do I verify >> that parameters passed to a function have been passed to it by >> the caller? > > https://metacpan.org/pod/sign

Re: alternative to feature 'signatures'?

2017-11-22 Thread hw
Chas. Owens wrote: What no one has said so far is the importance of using Carp when throwing errors related to how the function was called. The Carp module provides versions of warn (carp) and die (croak) that give the line and file where the call to the function occurred rather than the

Re: alternative to feature 'signatures'?

2017-11-22 Thread hw
Gil Magno wrote: On 19/11/17 13:57, hw wrote: without being able to use feature 'signatures', how do I verify that parameters passed to a function have been passed to it by the caller? If you're dealing with positional parameters[1] (and not with named ones) you can check for the size

Re: alternative to feature 'signatures'?

2017-11-22 Thread hw
Andrew Solomon wrote: This is how I'd go about it: https://gist.github.com/andrewsolomon/323a2b317ea5903f662fbaaded254798 "exists" is true if there's a key in a hash even if the key's value is undef. Does that provide a solution for you, or are there other constraints? That would require to

alternative to feature 'signatures'?

2017-11-19 Thread hw
Hi, without being able to use feature 'signatures', how do I verify that parameters passed to a function have been passed to it by the caller? A test for undef is not sufficient because the value passed to a function may be undef itself, and I need to be able to distinguish between the

Re: do something when using Gtk3

2017-09-10 Thread hw
"Chas. Owens" writes: > Here is how one of the example programs access the Glib timeout: > > https://github.com/dave-theunsub/gtk3-perl-demos/blob/master/search_entry.pl#L126 > > I would have pointed to docs, but they don't seem to be as easy to find as > they used to be in

Re: do something when using Gtk3

2017-09-04 Thread hw
Shlomi Fish <shlo...@shlomifish.org> writes: > Hi hw, > > On Mon, 28 Aug 2017 04:54:04 +0200 > hw <h...@adminart.net> wrote: > >> Hi, >> >> when writing a program that uses Gtk3, how can I make it so that the >> program does something at regu

do something when using Gtk3

2017-08-28 Thread hw
Hi, when writing a program that uses Gtk3, how can I make it so that the program does something at regular time intervals? Once Gtk3::main has been called, the program appears to be stuck in a loop or something and does nothing but Gtk3 stuff. I want to use something like Gtk3 to have the

reading from (TCP) sockets

2017-08-12 Thread hw
Hi, when reading data from a TCP socket, how do I tell when I have received all the data I should have received? Particularly, I´m trying to read data sent by a web server, so I´m opening a socket, send an HTTP request and receive an answer. Apparently I need to read from the socket in an

Re: OOP: a class using a class that is descended from it?

2017-08-04 Thread hw
Shawn H Corey wrote: On Fri, 4 Aug 2017 15:23:21 +0200 hw <h...@gc-24.de> wrote: Now I´m confused as to what is a module and a package. Both are files. > [...] This is very confusing so the convention is that one module has one package. I'm telling you this because the ter

Re: OOP: a class using a class that is descended from it?

2017-08-04 Thread hw
Chas. Owens wrote: On Fri, Aug 4, 2017 at 9:25 AM hw <h...@gc-24.de <mailto:h...@gc-24.de>> wrote: snip Now I´m confused as to what is a module and a package. Both are files. No, packages are not files. A package is created by a package statement: package Foo;

Re: OOP: a class using a class that is descended from it?

2017-08-04 Thread hw
Paul Johnson wrote: On Thu, Aug 03, 2017 at 08:44:45PM +0200, hw wrote: Hi, suppose I have a class FOO and a class BAR. The parent of BAR is FOO. I would like FOO to /use/ BAR because BAR has some methods needed by FOO. BAR is /decended/ from FOO because FOO has many methods needed by BAR

Re: OOP: a class using a class that is descended from it?

2017-08-04 Thread hw
a method to answer? That brings me to the point where FOO would have to use BAR to be able to answer the question. To do that, FOO would need to use BAR, but I´m reluctant to do that because BAR is descended from FOO. You see the conundrum? 03.08.17 21:44, hw пишет: Hi, suppose I have a class

Re: OOP: a class using a class that is descended from it?

2017-08-04 Thread hw
Andrew Solomon wrote: On Thu, Aug 3, 2017 at 8:48 PM, hw <h...@gc-24.de <mailto:h...@gc-24.de>> wrote: Andrew Solomon wrote: My instinct before trying this would be to move the methods which FOO needs back into FOO (removing them from BAR). Is there a reaso

Re: OOP: a class using a class that is descended from it?

2017-08-04 Thread hw
Shawn H Corey wrote: On Thu, 3 Aug 2017 20:44:45 +0200 hw <h...@gc-24.de> wrote: Hi, suppose I have a class FOO and a class BAR. The parent of BAR is FOO. I would like FOO to /use/ BAR because BAR has some methods needed by FOO. BAR is /decended/ from FOO because FOO has many m

Re: OOP: a class using a class that is descended from it?

2017-08-03 Thread hw
that the instances can know what type of object they represent, and BAR would then become obsolete because I could as well move all methods from BAR into FOO, defeating the point of OOP. On Thu, Aug 3, 2017 at 7:44 PM, hw <h...@gc-24.de <mailto:h...@gc-24.de>> wrote: Hi, suppose I have

Re: perl -e 'my $i = 0; $i = defined($i) ? (!!$i) : 0; print "i: $i\n";'

2017-08-03 Thread hw
David Mertens wrote: On Thu, Jul 6, 2017 at 11:05 PM, > wrote: Perl is highly unusual in that the operator, not the operand, dictates the context. Good point - and one that I hadn't got around to noticing.

OOP: a class using a class that is descended from it?

2017-08-03 Thread hw
Hi, suppose I have a class FOO and a class BAR. The parent of BAR is FOO. I would like FOO to /use/ BAR because BAR has some methods needed by FOO. BAR is /decended/ from FOO because FOO has many methods needed by BAR. Is this possible, or does it lead to some endless recursion when

Re: perl -e 'my $i = 0; $i = defined($i) ? (!!$i) : 0; print "i: $i\n";'

2017-07-06 Thread hw
X Dungeness wrote: It's about what unary ! (bang operator) does to the operand Here's the dissonance: perl -E '$x=0; say "x=$x"; $x = !!$x; say "x=$x"' x=0 x= It behaves as you expect until you "bang" it twice. I found a good explanation in the Camel: "Unary ! performs logical negation,

Re: perl -e 'my $i = 0; $i = defined($i) ? (!!$i) : 0; print "i: $i\n";'

2017-07-06 Thread hw
Chas. Owens wrote: On Sat, Jul 1, 2017, 12:44 Shlomi Fish > wrote: Hi Shawn! On Sat, 1 Jul 2017 11:32:30 -0400 Shawn H Corey > wrote: > !!$i which is !(!(0)) which is

Re: perl -e 'my $i = 0; $i = defined($i) ? (!!$i) : 0; print "i: $i\n";'

2017-07-06 Thread hw
Shlomi Fish wrote: Hi hw! Please see http://www.shlomifish.org/philosophy/computers/netiquette/email/reply-to-list.html . On Sat, 1 Jul 2017 19:15:22 +0200 hw <h...@gc-24.de> wrote: Shlomi Fish wrote: Hi Shawn! On Sat, 1 Jul 2017 11:32:30 -0400 Shawn H Corey <shawnhco...@gmail.c

perl -e 'my $i = 0; $i = defined($i) ? (!!$i) : 0; print "i: $i\n";'

2017-07-01 Thread hw
Hi, can someone please explain this: perl -e 'my $i = 0; $i = defined($i) ? (!!$i) : 0; print "i: $i\n";' i: Particularly: + Why doesn´t it print 1? + How is this not a bug? + What is being printed here? + How do you do what I intended in perl? -- To unsubscribe, e-mail:

Re: DBI and field type 'bit'

2016-10-08 Thread hw
ion (n converts integers, b converts strings of 0s and 1s). The third uses the vec function as an lvalue to build a bitstring. Interestingly, selecting with bitstrings doesn't seem to work and you have to use the number. I am not sure if this is a bug or not. The inconsistent behavior for select

DBI and field type 'bit'

2016-10-01 Thread hw
Hi, what´s the correct way with DBI to update a field in a mysql database when the field type is 'bit'? I´m getting, for example, converted to integer, 53 instead of 3 into the field. It goes like this: my $sth = $dbh->prepare("INSERT INTO t (`status`) VALUES (?) ON

Re: file type

2016-08-25 Thread hw
David Mertens schrieb: I don't know if I add much to the conversation by simply referring you to Stack Overflow, but I've found that it's a decent repository of information for this sort of question. This question has been asked and answered before

file type

2016-08-23 Thread hw
Hi, what´s the best way to find out of what type a file is? I´ll probably be having a list of available files and another list of the types I´ll be interested in, and it needs to be determined which files in the list of available files need to be processed further and which ones are to be

solved: Net::FTP ALLO --- and how to advise functions in perl

2016-08-20 Thread hw
Chas. Owens schrieb: If you want to get rid of ALLO completely, it looks like you just need to monkeypatch Net::FTP::_ALLO to return 1: use Net::FTP; BEGIN { no warnings "redefine"; *Net::FTP::_ALLO = sub { 1 }; } This replaces the _ALLO method of Net::FTP with a new method that

Re: Net::FTP ALLO --- and how to advise functions in perl

2016-08-19 Thread hw
vise', as one can do in elisp, in lack of a better term [2]: looking at the source: The put method does automatically call the alloc method, with no way around that (unless I can somehow advise the alloc method or another one). My approach would be to ignore a failure of the ALLO c

Net::FTP ALLO

2016-08-19 Thread hw
Hi, is there some way to prevent Net::FTP from using the ALLO command or to make it ignore failures when this command is used? I have to deal with ftp servers that do not understand the ALLO command. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail:

Re: accessing messages on an IMAP server by message number [rt.cpan.org #117033]

2016-08-18 Thread hw
PS: I forgot to add: [1]: http://search.cpan.org/~plobbes/Mail-IMAPClient-3.38/lib/Mail/IMAPClient.pod And the ticket is: https://rt.cpan.org/Ticket/Display.html?id=117033 hw schrieb: Hi, how can I access messages residing on an IMAP server by their message numbers? "Message n

accessing messages on an IMAP server by message number

2016-08-18 Thread hw
Hi, how can I access messages residing on an IMAP server by their message numbers? "Message number" means what MUAs like the one built into Seamonkey display as 'Order received'. The IMAP server being used is cyrus, and the message number corresponds to the name of the file the message is

Re: XML::Simple Umlaute

2016-08-09 Thread hw
Chas. Owens schrieb: On Thu, Jul 28, 2016 at 10:05 AM, hw <h...@gc-24.de> wrote: snip So which character encoding on STDOUT does perl use by default? That should be utf-8 without any further ado, shouldn´t it? When I add binmode STDOUT, ":encoding(utf-8)"; the characte

Re: XML::Simple Umlaute

2016-08-09 Thread hw
Chas. Owens schrieb: On Thu, Jul 28, 2016 at 10:55 AM Paul Johnson > wrote: On Thu, Jul 28, 2016 at 10:23:19AM -0400, Chas. Owens wrote: snip > Also, this answer on StackOverflow by tchrist (Tom Christiansen, who I > would say knows the

Re: XML::Simple Umlaute

2016-08-09 Thread hw
Paul Johnson schrieb: On Thu, Jul 28, 2016 at 10:23:19AM -0400, Chas. Owens wrote: On Thu, Jul 28, 2016 at 10:05 AM, hw <h...@gc-24.de> wrote: snip So which character encoding on STDOUT does perl use by default? That should be utf-8 without any further ado, shouldn´t it? When I add b

Re: XML::Simple Umlaute

2016-07-28 Thread hw
odules use warnings; binmode STDOUT, ":encoding(UTF-8)"; my $xml = XML::Simple->new; my $data = $xml->XMLin("test.xml"); say $data->{Regaletikett_ausgeben}; On Thu, Jul 28, 2016 at 9:05 AM hw <h...@gc-24.de <mailto:h...@gc-24.de>> wrote: Hi,

XML::Simple Umlaute

2016-07-28 Thread hw
Hi, I would like to read XML files which look like this: uuid:ee1bd852-37ee-4965-a097-50130cf6dac7 Infostand 5449000134264 gro 5449000134264 5449000134264 10.0 20 There is an Umlaut, ß, supposed to be at gro which