Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

ChuckularOne's scratchpad

by ChuckularOne (Parson)
on Jun 01, 2004 at 18:19 UTC ( #358347=scratchpad: print w/replies, xml ) Need Help??

What I'm trying to do is find $rFile in $_ and add it to an array.

This matches only the whole string.

if ( length($rfile) > 0 ) { foreach $item (@clean){ $continue = index($item, $rfile); if ( $continue == 0 ) { $output[++$#output] = $item; } }
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[marto]: meh, the admins are lazy, I just piped null to some old large log files, problem solved
[Corion]: marto: Heh ;) You're just further enabling their lazyness :-D
[marto]: they still don't know there was a problem, nobody told them! :P

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-01-24 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (203 votes). Check out past polls.