Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: The return value of m// (clues)

by quester (Vicar)
on Apr 23, 2012 at 07:04 UTC ( #966527=note: print w/replies, xml ) Need Help??


in reply to Re^2: The return value of m// (clues)
in thread The return value of m//

Hint: look for the phrase "search position" in perlop. Also consider that scalar global matches are typically used in loops, for example

for my $match ($a =~ /\d+/g) { print "$match\n" }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966527]
help
Chatterbox?
SuicideJunkie replaces stale cookies with fresh on the platter on the sideboard.
[SuicideJunkie]: So, possibly interesting thing; I had that script which was using more than all the ram to open an absurdly large spreadsheet. I set it up to spin overnight nightly, so it stopped releasing memory since it was never fully exited.
[SuicideJunkie]: Didn't expect that to be a problem. There's plenty of disk space for swap, and the memory space would be reused the next day. But apparently virtualbox dies with a guru meditation when there's no physical memory unused on start.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-04-26 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (491 votes). Check out past polls.