On Nov 24, 2007 12:06 AM, Ken Perl <[EMAIL PROTECTED]> wrote:
> I use following piece of code to write smiley Unicode string into a file,
>
> use Encode;
> my $smiley = "\x{263a}";
> open my $out, ">:utf8", "file" or die "$!";
> print $out $smiley;
>
> however, if we dump the output file in binary
On Nov 24, 4:03 pm, [EMAIL PROTECTED] (Steven Sim) wrote:
> Gurus;
>
> I have written a Perl CGI script to dynamically generate HTML and
> Javascript code for a web page.
>
> The web page consist of two parts.
>
> The first part displays a list of directories.
>
> The Javascript code that does this
On 11/24/07, Avinash S <[EMAIL PROTECTED]> wrote:
> I want to extract only the block which has the key word [WARNING]
It sounds as if you wish to process many lines at once, rather than
one line at a time. Is that right?
> while ()
> chomp;chomp;
Why two chomps? The first one removed th
Hi,
Yes, I have a trouble in parsing through the raw log. I am using the
"-->" symbol to parse through the log.
From
--
--> Validating DNS Server Entries <--
--
Servers should conform to global ANYCast Standard
To: beginners@perl.org
From: andy <[EMAIL PROTECTED]>
Subject:Manually installing perl modules on windows
Date sent: Fri, 23 Nov 2007 07:26:35 -0800 (PST)
Organization: http://groups.google.com
> Hi,
>
> I am trying to t
howa wrote:
Hello,
I want to match a query string,
e.g.
http://abc.com/test.cgi?TEST=1&.type=xmlrpc&type=2
I want to extract the .type, currently i use
$ENV{"QUERY_STRING"} =~ /\.type=(.+?)(&|$)/; # This is okay
but back reference seem no good, i rewrite as
$ENV{"QUERY_STRING"} =~ /\.type=
Gurus;
I have written a Perl CGI script to dynamically generate HTML and
Javascript code for a web page.
The web page consist of two parts.
The first part displays a list of directories.
The Javascript code that does this is dynamically generated by Perl. I
use Perl's opendir function to ca
From: doubleHelix <[EMAIL PROTECTED]>
> ok i know how i can find my INERNAL ip address in a script with perl:
>
> use Socket;
> print inet_ntoa(inet_aton("")) ."\n";
>
> but how would I find my EXTERNAL ip address?
Define external ... it's not as simple as it may sound. One
de
On 11/23/07, Ken Perl <[EMAIL PROTECTED]> wrote:
> I use following piece of code to write smiley Unicode string
> into a file,
>
> use Encode;
> my $smiley = "\x{263a}";
> open my $out, ">:utf8", "file" or die "$!";
> print $out $smiley;
>
> however, if we dump the output file in binary mode, the
On 11/23/07, doubleHelix <[EMAIL PROTECTED]> wrote:
> but how would I find my EXTERNAL ip address?
If there's an IP address at which routers send traffic to your
machine, your machine doesn't intrinsically know what it is. You
generally have to ask some program such as ipconfig. Inquire in forums
On Nov 23, 7:26 am, [EMAIL PROTECTED] (Andy) wrote:
> Hi,
>
> I am trying to talk to a programmable oven over serial port for heat
> testing of a PCB.
>
> I am using ActiveState perl v5.8.8 on Windows XP. I am trying to
> install the Win32:SerialPort package using Activestates Perl Package
> Manage
11 matches
Mail list logo