Skip to content

Instantly share code, notes, and snippets.

@Code-Hex
Last active July 13, 2019 04:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Code-Hex/c05dd96f137312a237b34839ca34f8d6 to your computer and use it in GitHub Desktop.
Save Code-Hex/c05dd96f137312a237b34839ca34f8d6 to your computer and use it in GitHub Desktop.
/*
#!perl
#*/
package main;import("fmt");import("io/ioutil");
const(q=`/*
#!perl
#*/
package main;import("fmt");import("io/ioutil");
sub import{};
print "hello";
__END__
`/*=);sub import{};sub const{$_=shift=~s!`(.*)`\/\*!$1!gr;eval};
__DATA__
*/);func init(){ioutil.Discard.Write([]byte(fmt.Sprintf(q)))};func main(){_=`};
__END__
*/);func main(){ioutil.Discard.Write([]byte("Hello"));`;fmt.Printf(q)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment