Comment: Re:return(); (Score 1) on 2009.05.27 5:12
For less trickery with subs and call stacks and line numbers, remember your old friend 'do'!
$ perl -le'print join " ", (1, do { warn 2; () }, 3)'
2 at -e line 1.
1 3
For less trickery with subs and call stacks and line numbers, remember your old friend 'do'!
$ perl -le'print join " ", (1, do { warn 2; () }, 3)'
2 at -e line 1.
1 3
CPANPLUS uses far less on my machine, but YMMV; for those strapped for ram, there's the option to use an SQLite backend.
To enable it, simply follow the following steps from the default shell:
### set SQLite as the backend
CPAN Terminal> s conf source_engine CPANPLUS::Internals::Source::SQLite
### update any dependencies (will install sqlite drivers if you need them)
CPAN Terminal> s selfupdate dependencies
### save configuration
CPAN Terminal> s save
Our long term goal is to move to San Francisco, and Wikia will happily sponsor an L-1 visa. Unfortunately, she has to work for them for at least a year before we can apply.