Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: Deleteing array elements

by si_lence (Deacon)
on Jul 23, 2009 at 08:55 UTC ( #782594=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Deleting array elements
in thread Deleteing array elements

Hi davorg, you are - of course - right with your remark that regular expressions aren't always the answer.
It really depends on the problem. If a special named file should be removed from the array then ne is probably the better solution.
If all files ending in .log should be removed, then a regex might be the way to go.
Since there is no information about the general problem in the OP we are left guessing.

cheers, si_lence

Comment on Re^3: Deleteing array elements
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://782594]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2015-11-29 01:13 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls