RE : RE : RE : RE : Regular expressions #2No worries :-)
It works now, thanks a lot :-)
Best regards,
Steve Hemond
Programmeur Analyste / Analyst Programmer
Smurfit-Stone, Ressources Foresti=E8res
La Tuque, P.Q.
Tel.: (819) 676-8100 X2833
shemond@smurfit.com=20
> -----Original Message-----
> From: drieux [mailto:drieux@wetware.com]=20
> Sent: Wednesday, December 17, 2003 1:38 PM
> To: Perl Perl
> Subject: Re: RE : RE : RE : Regular expressions
>=20
>=20
>=20
> On Dec 17, 2003, at 10:24 AM, drieux wrote:
>=20
> >
> > open(PS, "ps -efA|") or...
RE : RE : RE : Regular expressions #2
drieux is right about me being exploring Perl. In fact, that is a good =
exercice to play with regular expressions and data types as I had to =
build a hash of hashes to do the thing.
However, I wouldn't let a script in that stat if I knew of a =
better/quicker/shorter method.
I will then have to improve my script soon.
What would be the best way to put values returned by the ps command you =
just mentionned in variables?
Thanks again for your great help.=20
P.S : I look like the typical lazy guy who don`t even read and try by =
himself. This is because I am at work, ...
RE : RE : RE : RE : Regular expressionsHere is a sample of what your piece of code returns on my Aix box.
44520 -> /prog/gena/8.1.1/bin/dispatch
44650 -> reproject
45176 -> aioserver
45432 -> aioserver
45724 -> -ksh
46002 -> /bin/bsh
46232 -> /usr/dt/bin/dtterm
46584 -> /usr/bin/ksh
46820 -> /usr/dt/bin/ttsession
47060 -> /bin/bsh
47304 -> /usr/dt/bin/dtlogin
47396 -> /usr/dt/bin/dtterm
47722 -> dtfile
47942 -> /usr/dt/bin/dtsession
48272 -> dtfile
48568 -> ora_cjq0_gist
48758 -> gxtrackd
49032 -> dtwm
49330 -> /usr/lib/lpd/pio/etc/piohpnpf
49592 -> b...
Re: Re[2]: Fwd: not able to get mails from bugzilla------------A1F1393546339E
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi=20
sorry the OS is LINUX
=A0
so where do we find the logs now?
=A0
Thanks and Regards ,
Prasanna.s.k
--- On Fri, 6/2/09, Thorsten Sch=F6ning <tschoening@am-soft.de> wrote:
From: Thorsten Sch=F6ning <tschoening@am-soft.de>
Subject: Re[2]: Fwd: not able to get mails from bugzilla
To: support-bugzilla@lists.mozilla.org
Date: Friday, 6 February, 2009, 9:06 AM
Guten Tag Prasanna Sheregar,
am Freitag, 6. Februar 2009 um 09:50 schrieben Sie:
&...
Re: Re:Sorry about that, my mistake, the patched method goes like this:
procedure DeallocateHWnd(Wnd: HWND);
var
Instance: Pointer;
begin
Instance := Pointer(GetWindowLong(Wnd, GWL_WNDPROC));
if Instance <> @DefWindowProc then
begin
{ make sure we restore the default
windows procedure before freeing memory }
SetWindowLong(Wnd, GWL_WNDPROC, Longint(@DefWindowProc));
FreeObjectInstance(Instance);
end;
DestroyWindow(Wnd);
end;
"Andreas Hausladen" <AndreasDOTHausladen@gObviousToBeRemovedmx.de> wrote in
message news:99620@f...
RE: Re: [wxperl-users] Re: Re: EVT_QUERY_END_SESSIONyou putted the EVT_CLOSE to the wrong place...
or do you have a reason why you need it to be there?
$app ist not the window, but you could use EVT_CLOSE on $frame too.
i changed your minimal sample that it works.
hope it helps
greeting
Marco
----
use Wx;
###########################
package MyApp;
use strict;
use vars qw(@ISA);
@ISA=qw(Wx::App);
sub OnInit
{
my( $this ) = @_;
my( $frame ) = MyFrame->new( "Minimal wxPerl app",
Wx::Point->new( 50, 50 ),
Wx::Size->new( 450, 350 )
);
...
RE: Re[2]: Getting past "Use of uninitialized value..."I define global variables in a package (e.g. $MyVars::SystemName =
"chuck";). It may only be used in THIS program once, but several other
programs need that value. True, modifying it wouldn't be the end of the
world, but that could lead to unforeseen problems later if you do something
you don't have to. The risk is minimal, but not still there.
--Chuck
> -----Original Message-----
> From: Daniel Gardner [mailto:daniel@danielgardner.org]
> Sent: Wednesday, November 21, 2001 12:42 PM
> To: Tomasi, Chuck
> Cc: 'beginners@perl.org'
> Su...
Re: Re[2]: flush
: I'm sorry, I might sound lame, but these buffering and autoflush problems seem a bit(?) theoretical and far-fetched to me. Would you please show me examples of situations (or links to codes) where the use of autoflush instead of buffering IO (or vice versa) would be crucial.
One area is where you're mixing up prints to STDOUT and STDERR. STDERR
is not buffered, but STDOUT is, so while whatever you print to STDERR
will go directly out the door, the stuff printed to STDOUT will hang
around until the buffer is full. This is really annoying when you're
debugging: warn()s an...
RE: Re[2]: ftpI have been on AS perl for a number of years and FTP is part of the install.
I am running on win2k, AS 5.6.0. I typeed perldoc Net::FTP and it displaged
out. So what version are you running. I have a scond machine which is
running nt 4.0 service pak 6 and it also has AS 5.6.0 and when I typed in
above command, the same perl doc came out. I amy be wrong, but I believe
that FTP is part of libnet install.
Wags ;)
-----Original Message-----
From: kosta gruzdnev [mailto:zulm@ukr.net]
Sent: Monday, May 21, 2001 02:53
To: Tony Cook
Cc: beginners@perl.org
Subject: Re[2]: ftp
> ...
Re: Re: Re: RE: capture a website and process its data--Next_1077222091---0-202.54.124.153-17281
Content-type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi Rob,=0AI implemented your code and it gave perfectly desired answers. Bu=
t I couldn't understand most of it. So, currently I went ahead with Dan's t=
ips on my code only and would try to understand your code later after I mee=
t a deadline for a small project of mine in college for tomorrow! So, no qu=
estions as of now. =0A=0Acheers.=0AK(ay).=0A=0A=0AOn Thu, 19 Feb 2004 Rob D=
ixon wrote :=0A>Scott E Robinso...
Re: Re: Re: Re: cross cluster read fails--Boundary_(ID_HDBIpKP7HBB79jluGvYvuw)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8BIT
Content-disposition: inline
�Hi Alan
One more thing before we go further :)
I wrote a simple perl script that accepts a file name, prints it out, opens the file (dies if open unsuccessful or prints �open successful�)
1>I passed my local directory filename, it prints �open successful�
2> Now I just add �abcd::� in front of it, and the perl script fails with Remote node is unknown
D...
RE : RE : RE : Regular expressionsI am issuing this command on an Aix box and running allright :-)
Forgive my curiosity.. are you running Solaris on a x86 box?=20
Steve Hemond
Programmeur Analyste / Analyst Programmer
Smurfit-Stone, Ressources Foresti=E8res
La Tuque, P.Q.
Tel.: (819) 676-8100 X2833
shemond@smurfit.com=20
> -----Original Message-----
> From: drieux [mailto:drieux@wetware.com]=20
> Sent: Wednesday, December 17, 2003 1:14 PM
> To: Perl Perl
> Subject: Re: RE : RE : Regular expressions
>=20
>=20
>=20
> On Dec 17, 2003, at 8:47 AM, Hemond, Steve wrote:
...
RE: Re: Re: Sub not working as it shouldYou don't need to be sorry - it's the right choice ;-)
Philipp
> -----Original Message-----
>
> I am sorry I am migrating over to perl (love the built
> in debugger)
> --- Saadat Saeed <saadat_saeed@yahoo.com> wrote:
> > Thanks for the quick reponse - looks like I confuse
> > my
> > vbscript skills a bit... I am new to perl and am
> > migrating over to vbscript!
> >
> > Regards
> >
> >
> > --- Jeff 'japhy' Pinyan <japhy@perlmonk.org> wrote:
> > > On Jan 21, Saadat S...
RE: RE: Re: Tri-grams?------_=_NextPart_001_01C6380E.13FCCC91
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
-----Original Message-----
From: amit hetawal [mailto:amit_h123@rediffmail.com]
Sent: Wednesday, February 22, 2006 16:00
To: Wagner, David --- Senior Programmer Analyst --- WGO
Subject: Re: RE: Re: Tri-grams?
hi there
the sequnce with alpha _ _ is valid but not _ _ _
I replaced the 4 four lines in your program with the following four line=
s.
=20
next if ( $char !~ /[a-z]/i );
my $char2 =3D substr $_, $ii+1, 1;
...