archives

FAQ 6.12 What does it mean that regexes are greedy? How can I get around it?

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 perlfaq is at [link] .

IDUG Baby Update

I had a bunch of people ask me about Anthony (grandson) today.. really... so I thought I would post a couple of photos I took recently. Corvette T-Shirt and his "dog" His brand new lizard shirt With

IDUG NA (Dallas) 2008 - Monday, Day 2

What a day. IDUG is back to how it was in the old days; back when you could barely make it to your next session because there were so many to talk with. It's been a while since I have been to an IDUG and have known so many faces. I guess the best place to start is at the beginner, breakfast. I actually made it down to breakfast this morning. In fact, I had enough time at breakfast to sit

UK tech agency: Microsoft's no friend to schools - CNet News.com Blog

UK tech agency: Microsoft's no friend to schools CNet News.com Blog - 19 hours ago Instead of offering native support, Microsoft has released a converter that will let Word users open documents saved in the OpenDocument format.

Server-side modules

I am trying to setup a script on my server (godaddy.com, if anyone has any experience w/ them) and have been ripping my hair out the past couple of days trying to figure it out. My guess is that the problem lies in the "Undefined subroutine &utf8::is_utf8 called" but I have no idea how to correct it. When I run the script on my local machine

Example for open3 on windows?

Hello, I tried to forward input, output and error of a command to files using open3 on windows. I used the following code: open(F_IN, "<$f_in"); open(F_OUT, ">$f_out"); open(F_ERR, ">$f_err"); my $pid = open3(\*F_IN, \*F_OUT, \*F_ERR, "$command"); waitpid($pid, 0); Anything, this code does, is hanging on waitpid.

Perl equivalent of htmlspecialchars()

Hi, I am looking for perl equivalent of PHP functions htmlspecialchars() and stripslashes() to parse a html page. Any pointers will be of great help. Regards, -Yogesh

A Dashboard Alerts Checklist

There is a tendency with reporting, and dashboards in particular, to cram as much information on the page as possible. One alternative is to shift the focus from the full data to changes in the most critical data points. By pulling out the important exceptions, you can make it easier for your audience to digest what matters and take action.

FAQ 5.21 Why can't I just open(FH, ">file.lock")?

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 perlfaq is at [link] .

Hang on explain plan

Hi, Oracle 10.2.0.3 on W2003 I have the query below (with views) the explain plan hang when there are stats and is OK with no stats. Can you help me on this ? Thanks in advance 2 SELECT ALL b.r_object_id, dm_repeating1_0.state_name, a.object_name 3 FROM dm_policy_sp a, dm_sysobject_sp b, dm_policy_rp

The Proposal Template and fixing past links and other house-cleaning

I have long since changed my hosting and have stopped using certain domains.  Because of this, it has been brought to my attention that the links to my proposal template is no longer available. I've corrected it on the prior entry but you can also find it here.

Consulting - Getting Paid On Your Terms

Mr.Tibbs2007 asked about how to get paid within your terms - as well as getting sign-off on project satisfaction. I am going to cover each of these in greater detail in future entries.  However, getting paid in your terms is a critical one - particularly for the independent or small consulting firm. Here

CC&B- Quote Component

Has anyone used the CC&B quote component? We are looking at installing it but we are wondering how difficult it is to configure, and in the end

Regexp: non greedy?

Dear all I know, that its probably a little boring for the "pro"s to answer question about regexp... ...but, bevor I start to cry I'd like to ask for a helping hand. I have the following regexp: $message =~ m/(\:59\:(.+)?(\n\:\d\d\:))/s ; I am expecting it to grab everything whats between :59: and :70: into

select ethernet card for socket?

how can i select an specific ethernet card for a socket, when i have multiple ethernet-cards (lan, wireless) installed? i have two cards, configured for two different subnets: wireless: 192.168.50.x lan: 2.1.1.x and want to open a socket and broadcast to 2.1.1.x but without touching the wireless-settings. currently, i

How to determine if a word has an extended character?

I have a file which contains just one word. My task is just to find out if the word has any extended character. Thats all. I can use regex, but am not able to find out a regex pattern for extended character. Any hints? For example, if the file content is: sample, then the Perl code prints false; and if the file content is samplé, then the Perl code prints