| Thread | Last Post | Replies |
|
| unary minus strangeness | 01 Apr 2010 00:01 GMT | 12 |
% perl -E'say -0' 0 % perl -E'say -undef' -0
|
| the mug of Perl | 31 Mar 2010 13:28 GMT | 9 |
http://nostarch.com/mugperl.htm cheat sheet is here: http://nostarch.com/mugperl_big.htm The cheat sheet appears to be targeted more to the casual user rather
|
| Perl Errors | 31 Mar 2010 10:44 GMT | 1 |
I was running a perl script to generate a makefile and run into the following errors: ====================================================================== Can't locate Getopt/Std.pm in @INC (@INC contains: C:\Program Files
|
| using Print << marker with require statement? | 31 Mar 2010 07:59 GMT | 6 |
A noob question about using a require statement. I tried including a file that looks like this: print << "endOfText"; Sample Text
|
| File formatting | 31 Mar 2010 00:39 GMT | 11 |
I have a file with two fields, country and city and "|" delimiter. Here are the sample formats: USA | Boston USA | Chicago
|
| Text::ParseWords | 30 Mar 2010 19:57 GMT | 9 |
See the script and output below. The problem is that DATA contains a single quote in the name O'Toole. Is there any way to get this to work? Or do I have to roll my own? Or (horrors) do I have to munge DATA to escape every single quote?
|
| Are there any good tutorials for writing perl cell phone programs? | 30 Mar 2010 09:11 GMT | 6 |
I wanted to know if there were any decent sites out there that have tutorials for creating perl programs on cell phones.
|
| You never have privacy from your children in Perl 6 | 29 Mar 2010 23:25 GMT | 18 |
Wanting to run the recent class-attribute discussion[0] through the neural net of my friend, I described to him in detail how the current system with attributes works. He's kind of a Java guy, and though he liked the twigil distinction between private and public, he asked how
|
| CGI redirect method opens new browser window | 29 Mar 2010 22:37 GMT | 1 |
Hi, I am creating a login form that redirects the user to a different page after they are authenticated. It is redirecting them, always opens up the new page in a seperate browser window/tab and leaves the login form open.
|
| Ordering in \bbold{C} | 29 Mar 2010 22:29 GMT | 5 |
Some time ago there was a thread disucssing numeric ordering issues; the fact that ℂ lacks an ordering was part of that discussion. A recent paper on arxiv proposes inflicting an ordering on ℂ using: ,----< excerpt from http://arxiv.org/abs/1003.4906 >
|
| command-line arg, negative hex? | 29 Mar 2010 21:54 GMT | 18 |
A test I'm running generates 'implicit' hex values. So, "123", not "0x123". For negative values, it just uses (eg) "-123". I would like to sum a set of these on the command line; eg: ' sum.pl 12 34 -10 ' For non-negative values, 'hex()' does what I want. But, it ignores the
|
| Regex interpolation | 29 Mar 2010 19:41 GMT | 3 |
Is there not a way to run arbitrary code and interpolate the result as a literal string (instead of a Regex)? I assume that {...} is intended to be where you hook in semantics/actions mid-parse, but it seems a bit counter-intuitive that
|
| Pass code reference to sort function | 29 Mar 2010 08:58 GMT | 2 |
I'm trying to build a very minimal ETL tool using Perl. I'm trying as much as possible to abstract the gory details of reading, writing and generally processing the data by providing a pre-built pipeline into which users can plug various bits of functionality.
|
| socket transmission | 28 Mar 2010 22:45 GMT | 7 |
I have a piece of code in C and wanted to write a little simulator for it in Perl. I basically wanna be listening on port 16001 and on reception i wanna send back an acknowledgement "POK\0". I thought I got this accomplished but for some reason my client doesn't seem to
|
| Perl HTML searching | 28 Mar 2010 11:17 GMT | 41 |
I started a little project where I need to search web pages for their text and return the links of those pages to me. I am using LWP::Simple, HTML::LinkExtor, and Data::Dumper. Basically all I have done so far is a list of URL's from my search query of a website, but
|