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

inspirational sudo-code?

by perlaintdead (Scribe)
on Dec 05, 2013 at 02:58 UTC ( #1065698=poem: print w/replies, xml ) Need Help??

I tried to use proper syntax as much as possible but it doesn't actually execute.

#!/usr/bin/perl study $science; open $doors,">","success.txt"; BEGIN aNewLife() and use Hard::Work; push for(;;){},"a brighter future"; do not do $meth; do not return 2, -e$x-$girlfriend; shift @yourPerspective; exit $fear;

Replies are listed 'Best First'.
Re: inspirational sudo-code?
by MidLifeXis (Monsignor) on Dec 05, 2013 at 13:20 UTC

    sudo-code? I wouldn't let root touch that with a 10 foot pole :-).


      guess i should have spelled that properly. ei. pseudo

        That's ok. It was a nice set up :-)


Re: inspirational sudo-code?
by Bogenmaas (Novice) on Jun 13, 2014 at 23:11 UTC

    that's my approach on your nice little poem ;)
    and it's runnable!

    #!/usr/bin/perl sub aNewLife { mkdir 'Hard' if !-d 'Hard'; open EFFORT, ">Hard/"; print EFFORT "package Hard::Work; 1;"; close EFFORT; } study $science; open $doors,">","success.txt"; BEGIN { aNewLife; } use Hard::Work; for(;;){push @me, "to a brighter future at"; last}; sub advice { do not return 2, -e$x-$girlfriend or -e$x-$boyfriend; } shift @yourPerspective; exit $fear; "don't use drugs" or die $!; sub new { my $self = bless { 'by' => 'God' }; return $self; }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: poem [id://1065698]
Approved by Athanasius
[marto]: good morning all

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2018-06-21 06:52 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.