Im not sure if this is possible but i want to delete all chars inbeteen
< and > so if i had id like to delete it,
Here an example of the best way i can figure out how to do it :)
$string =~ s/\<.\>|\<..\>|\<...\>|\<\>|\<..\>//
so I'm looking for a shorter way, I cant find any wildcards
Hi
I would like to know how to compare 2 arrays.
I have 2 arrays and I would like to compare the contents of the data.
It doesn't matter in which order the data is stored so long as its the same.
So comparing the bellow should read true, but if they didn't match it would
be false.
my @foo = qw(
om what i can tell, it
*should*
be giving an error about being unable to coerce an array to a hash, but it
seems to
work fine, it's driving me nuts :)
Merritt
>
> But mine has a similar defect:
>
>qw(foo foo bar) is considered equal to qw(foo bar bar)
>
> Rats! Tha
I want to write a program to check my systems memory but i have no idea how to check
my free memory with perl, best i can think of is to get the data from "top" , but that
isnt ideal in my situation. some1 please point me in the write direction
Thanks
Merritt
freebsd, doesnt seem to have a /proc/meminfo :)
Merritt
- Original Message -
From: "Terry Davis" <[EMAIL PROTECTED]>
To: "Merritt Krakowitzer" <[EMAIL PROTECTED]>
Sent: Saturday, May 12, 2001 9:25 PM
Subject: RE: Best way to check memory usage?
> you