- | perl | php | python | ruby ------------ |------------ | ------------- | -------------| ------------- block | {} | {} | : | {} statement separator | ; or nl | ; | ; or nl | ; or nl comment | # | // # | # | # comment1 | =pod =cut | /* abc */ | '''abc''' | =begin =end string slice | - | - | mystring[0:4] | -
Last active
December 21, 2016 12:52
-
-
Save mtsuszycki/09ac3d3ffc4ac7e16ade67df927bc85a to your computer and use it in GitHub Desktop.
ruby, python, perl, php comparision side by side
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment