jeevs wrote:
It happened that i tried installing Net::SSH::Perl from cpan. After
a long haul and installing most of the dependencies it happend that
installation was aborted in between with the message.
##
Failed Test Stat Wstat Total Fail Fa
Hi..
Thanks for all you guys help & Suggestion. Actually I truned around to
use the other way to get the data I need since system() give me such a
hard time... :(
my $inactive = "cat /proc/meminfo | grep -w Inactive | sed 's/
^.*Inactive://g' | sed 's/kB//'";
open(DATA, "$inactive|") || die "Ca
Hi...
Relly appreciate all of you guys' help. You guys did provide me
valuable information. I will give it a try all you guys suggestion.
Actually I gave up the system() call last night since it gave me such
a hard time. The other way I did is shown below to get the data I
need,
my $inactiv
On Nov 14, 2007 12:59 PM, Omega -1911 <[EMAIL PROTECTED]> wrote:
> > --
>
> Oh hell, why doesn't *the great one* create a regex to remove
> contiguous lines that contain *certain* words on his end? Oh my fault,
> this list is his kingdom... Perl's excellent for text manipulation.
snip
Because of n
> --
Oh hell, why doesn't *the great one* create a regex to remove
contiguous lines that contain *certain* words on his end? Oh my fault,
this list is his kingdom... Perl's excellent for text manipulation.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
On Nov 14, 2007 12:24 PM, Chas. Owens <[EMAIL PROTECTED]> wrote:
> On Nov 13, 2007 8:13 PM, vijay <[EMAIL PROTECTED]> wrote:
> > I am trying to use Graph::Directed to test if a structure is a DAG or
> > a tree. There is a simple method to test whether the graph is a DAG.
> > However, I could not fi
On Nov 13, 2007 8:13 PM, vijay <[EMAIL PROTECTED]> wrote:
> I am trying to use Graph::Directed to test if a structure is a DAG or
> a tree. There is a simple method to test whether the graph is a DAG.
> However, I could not find a way to test if it is a tree.
snip
If my understanding of the graph
Chas. Owens wrote:
On Nov 14, 2007 9:45 AM, Jay Savage <[EMAIL PROTECTED]> wrote:
While I certainly share your annoyance, I don't think we should punish
people for their employers' sins.
The problem is that there is no way to correctly guess where the
content ends and the sig begins (damn uns
On Nov 14, 2007 9:45 AM, Jay Savage <[EMAIL PROTECTED]> wrote:
> On Nov 13, 2007 12:13 PM, Randal L. Schwartz <[EMAIL PROTECTED]> wrote:
>
> >
> > So, you have a one line question, and 15 lines of disclaimer, which is not
> > even legally enforcable? That's really pretty inexcusable to thrust on a
On Nov 13, 2007 12:13 PM, Randal L. Schwartz <[EMAIL PROTECTED]> wrote:
>
> So, you have a one line question, and 15 lines of disclaimer, which is not
> even legally enforcable? That's really pretty inexcusable to thrust on a
> mailing list. Did I mention it's pointless, and unenforcable?
>
> Pl
Hi,
Note that you can use the $? variable to get the command exit status:
Yaron Kahanovitch
- Original Message -
From: "Jeff Pang" <[EMAIL PROTECTED]>
To: "Beginner" <[EMAIL PROTECTED]>
Cc: beginners@perl.org
Sent: Wednesday, November 14, 2007 11:24:21 AM (GMT+0200) Asia/Jerusalem
Subjec
Hi p.b,
What conditions on a CPAN module must hold in order for cpantesters
and cpanform to create pages for that dist? My module, App::Smbxfer,
is indexed and in the module list. It shows up on most of the CPAN
pages (i.e. it is on the other CPAN search pages, ANNOCPAN, RT,
CPANTS, ...) but not
On Nov 13, 7:11 pm, [EMAIL PROTECTED] (Marco) wrote:
> Hi...
>
> Can someone help me on this? Actually I can get the dara from the
> system()...But it shows "0" when I print the $result...How can I
> assign the system() to $result ?Thanks...
>
> here below is the code...
>
> $inact = "cat /proc
On Nov 13, 7:11 pm, [EMAIL PROTECTED] (Marco) wrote:
> Hi...
>
> Can someone help me on this? Actually I can get the dara from the
> system()...But it shows "0" when I print the $result...How can I
> assign the system() to $result ?Thanks...
>
> here below is the code...
>
> $inact = "cat /proc
On Nov 14, 2007 5:45 PM, Raan <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have to do some kind of socket programming in perl .
>
> Is it possible to do some kind of socket programming in perl.
>
Yes it's very possible. Perl's socket functions are strong enough to
build any network application you w
Hi All,
I have to do some kind of socket programming in perl .
Is it possible to do some kind of socket programming in perl.
Regards,
Raan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
I am trying to use Graph::Directed to test if a structure is a DAG or
a tree. There is a simple method to test whether the graph is a DAG.
However, I could not find a way to test if it is a tree.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http
On Nov 14, 2007 5:18 PM, Beginner <[EMAIL PROTECTED]> wrote:
> On 13 Nov 2007 at 19:11, Marco wrote:
>
> my $result = system($inact);
> print $result;
>
my $result = `system commands`;
print $result;
system() returns nothing but the executed status of the command itself.
--
To unsubscribe, e-
On 13 Nov 2007 at 19:11, Marco wrote:
> Hi...
Hi
> Can someone help me on this? Actually I can get the dara from the
> system()...But it shows "0" when I print the $result...How can I
> assign the system() to $result ?Thanks...
>
> here below is the code...
>
> $inact = "cat /proc/meminfo
Thanks for the comment Sir.
I was using some less efficient way to check if the module was
installed.
-
Nexis
http://startperl.blogspot.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi...
Can someone help me on this? Actually I can get the dara from the
system()...But it shows "0" when I print the $result...How can I
assign the system() to $result ?Thanks...
here below is the code...
$inact = "cat /proc/meminfo | grep -w Inactive | sed 's/^.*Inactive: //
g' | sed 's/kB
* [EMAIL PROTECTED] (John W . Krahn) wrote:
>
> On Tuesday 13 November 2007 13:15, [EMAIL PROTECTED] wrote:
> > On Nov 13, 9:13 am, [EMAIL PROTECTED] (Randal L. Schwartz) wrote:
> > > > > long disclaimer> So, you have a one line question, and 15 lines of
> > > disclaimer
> >
> > Oh, no, Randal,
22 matches
Mail list logo