| Thread | Last Post | Replies |
|
| Can I not use the -E switch in the perl debugger/interpreter? | 31 Jul 2009 19:17 GMT | 3 |
I often create perl one-liners with the "-we" switch. I also quite often pop into the perl debugger/interpreter (with "perl -wde 1") to either test code or to run short pieces of code. Now that I'm using Perl 5.10, I will often replace the "-we" switch
|
| forcing FTP timeouts? | 31 Jul 2009 16:53 GMT | 4 |
I'm trying to write some robust remote delivery code. I'm using Net::FTP as a ftp client. Can anyone suggest a way to persuade the FTP server to slow down/stop to that I get a timeout?
|
| Placeholder variable misuse. | 30 Jul 2009 17:02 GMT | 1 |
In Rakudo right now, this lives: "{$foo;$^foo}(1)" However, the spec test expects it to die during compilation (see the end of S06-signature/positional-placeholders.t). It says, "A non-twigil variable should not precede a corresponding twigil
|
| Very Frustrating | 30 Jul 2009 15:45 GMT | 14 |
Hi everyone, the following code works from my linux shell as root or the 'nobody' accounts: ----------------------------- #!/usr/bin/perl
|
| "uri_escape_utf8" is not exported by the URI::Escape module | 30 Jul 2009 14:45 GMT | 3 |
I have some code which I need to implement, from a third party, but seem to be getting stuck with the following error: "uri_escape_utf8" is not exported by the URI::Escape module All the modules are installed, and the line which fails is as follows:
|
| FAQ 7.13 What's a closure? | 30 Jul 2009 02:04 GMT | 4 |
This is an excerpt from the latest version perlfaq7.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete
|
| FAQ 6.23 How can I match strings with multibyte characters? | 29 Jul 2009 22:52 GMT | 5 |
This is an excerpt from the latest version perlfaq6.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete
|
| Parameter binding | 29 Jul 2009 17:21 GMT | 6 |
I came to this 12:51 <@moritz_> rakudo: my $x = 3; say $x, ' ', ++$x; 12:51 < p6eval> rakudo 7b81c0: OUTPUT«4 4» 12:51 <@moritz_> rakudo: my $x = 3; say $x, ' ', $x++;
|
| Why failing correcting new line at end of text file | 29 Jul 2009 17:12 GMT | 1 |
I did two functions to correct new line at end of text file. One works the other does not. A text file generally ends by one new line, but sometimes does not, for whatever reason. This leaded perl to have both \z and \Z.
|
| Regular expression segmentation Fault with in-place substitution | 29 Jul 2009 16:50 GMT | 2 |
Dear Perl Fellows, I'm trying to Find and Replace a pattern with in-place edit. I have opened the file using the Tie::File module as advised in perlfaq5.
|
| cpan keeps asking: "Is it OK to try to connect to the Internet?" | 29 Jul 2009 06:25 GMT | 2 |
I have perl 5.10.0. Whenever I would invoke cpan to install modules, it would ask me "Is it OK to try to connect to the Internet?". I want to disable that question and always assume that the answer is "yes".
|
| FAQ 5.28 How can I read in an entire file all at once? | 29 Jul 2009 06:21 GMT | 6 |
This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete
|
| confusing list assignment tests | 29 Jul 2009 00:03 GMT | 9 |
I'm in the mood to question my sanity, so I'm seeking feedback for some test mangling: In t/spec/S03-operators/assign.t there are some tests that cause me a headache. I'm trying to re-write them to not use the now-gone want()
|
| Guessing Encodings and the PerlIO layer | 28 Jul 2009 03:38 GMT | 2 |
Hi, this subject has probably been hashed over. Maybe someone can steer me in the right direction. If I could actually get un-alterred data from the first 4 bytes of data from a file I could check this myself
|
| Clarification of S04 closure traits | 27 Jul 2009 17:27 GMT | 2 |
I'm iworking on a patch for Perl 5 that implements the Perl 6 closure traits (ENTER/LEAVE/...) as special blocks. There are several details that aren't clear to me from either S04 or the spec tests; I apologize if these have been discussed before, as I haven't been following p6l.
|