Skip to content

Instantly share code, notes, and snippets.

@masak
masak / wow
Created February 17, 2009 17:10
$ ./proto install november
Downloading november...downloaded
Downloading html-template...downloaded
Building html-template...built
Building november...built
$
use v6;
use Sinatra;
get '/hi' => {
"Hello World!"
};
\begin{floatingfigure}{0.4\textwidth}
\includegraphics[width = 0.4\textwidth]{images/magician.eps}
\end{floatingfigure}
perl -le '
print "---";
my @a = (
["Parrot directory", "/home/user/something/parrot"],
["Parrot revision", "bleeding"]
);
for my $setting (@a) {
my ($key, $value) = @{$setting};
print $key, ": ", $value;
}'
$ ./proto install november
Downloading november...downloaded
Building november...built
$ cd projects/november/
$ git co -b html-template-gone origin/html-template-goneBranch html-template-gone set up to track remote branch refs/remotes/origin/html-template-gone.
Switched to a new branch "html-template-gone"
$ rm Makefile; find lib/ -name \*.pir | xargs rm # The crucial step! We forgot this before.
$ cd -
$ ./proto install november
Downloading november...downloaded
We got the grant[1], yay! And also a message saying this:
] For now, just a note: as the people that commented in the blog, the GC
] members also are not happy with the module name (too vague). Although
] not a requirement (you may maintain the name) we would love if you could
] find a better one.
My general question, then, is: should we think about changing the name of
the module from 'Web' to something else?
$ svn co -r2357 http://dev.catalyst.perl.org/repos/Catalyst/trunk catalyst2357
[...]
$ cat catalyst2357/Catalyst/lib/Catalyst/Dispatcher.pm
package Catalyst::Dispatcher;
use strict;
use base 'Class::Accessor::Fast';
use Catalyst::Exception;
use Catalyst::Utils;
use Catalyst::Action;
$ ./proto update november
Updating november...updated
Updating html-template...updated
Building html-template...built
Building november...built
$
------------------------------------------------- Module#instance_method
mod.instance_method(symbol) => unbound_method
------------------------------------------------------------------------
Returns an +UnboundMethod+ representing the given instance method
in _mod_.
class Interpreter
def do_a() print "there, "; end
def do_d() print "Hello "; end
def do_e() print "!\n"; end
$ perl -MYAML -e 'print Dump({ "foo" => [1..3]})'
---
foo:
- 1
- 2
- 3
$ perl -MYAML::XS -e 'print Dump({ "foo" => [1..3]})'
---
foo:
- 1