Skip to content

Instantly share code, notes, and snippets.

@FL4TLiN3
Last active December 18, 2015 08:39
Show Gist options
  • Save FL4TLiN3/5755295 to your computer and use it in GitHub Desktop.
Save FL4TLiN3/5755295 to your computer and use it in GitHub Desktop.
# dump variables
use Data::Dumper;
print Dumper($foo, $bar);
# log-out
user MLog;
MLog::write("path/to/file.log", "ab");
MLog::write("$_::LOG_DIR/hirano.debug", Dumper($variable));
# unlock read-only state
# http://blog.yappo.jp/yappo/archives/000592.html
&Internals::SvREADONLY($params, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment