Difference between revisions of "RPi Perl"

From eLinux.org
Jump to: navigation, search
Line 6: Line 6:
  
 
'''sudo apt-get install curl'''
 
'''sudo apt-get install curl'''
 +
 
'''curl -L http://cpanmin.us | perl - --sudo App::cpanminus'''
 
'''curl -L http://cpanmin.us | perl - --sudo App::cpanminus'''
 
'''sudo cpanm -i <Module Name>'''
 
'''sudo cpanm -i <Module Name>'''

Revision as of 12:18, 30 May 2012

CPAN

CPAN seems to struggle with out of memory errors on the default Debian distribution. To get around this, you could try CPANMinus.

Steps.

sudo apt-get install curl

curl -L http://cpanmin.us | perl - --sudo App::cpanminus sudo cpanm -i <Module Name>


Dancer To get Dancer working with CPANminus

sudo cpanm -i Dancer