|Problems? Is your data what you think it is?|
RFC: Tutorial for "Using Google Cloud Shell with Perl"by Corion (Pope)
|on Jan 28, 2018 at 14:34 UTC||Need Help??|
Why would you want to?
Maybe you are just starting out with Perl and don't have a computer set up for Perl. Unix computers already include Perl, but maybe you don't have the permissions to run it on your computer.
Maybe you just want to try a Perl module for some external program that you don't want to install on your machine. Maybe you just got a bug report for Linux that you can't easily replicate. Maybe you are online and don't have access to your home machine. Maybe you just need 5GB of storage quickly.
You just need four steps to get to Perl in the Google Cloud Shell:
Using the Cloud Shell as a web development environment
The cloud shell also comes with an included web proxy so that you (and only you) can try out web applications served from any web server on that machine. This makes the Cloud Shell a convenient testbed to try out web frameworks like Mojolicious, Dancer2, Dancer or even CGI::Application in PSGI mode.
Run minimal Mojolicious program:
Visit /hello in the Web Preview pane
Install Dancer2cpan Dancer2
Run minimal Dancer2 program:
Using Dancer with Twiggy
Run minimal Dancer program:
Visit /hello/yourname in the Web Preview pane