in reply to Re^4: Programming Language to generate Perl Scripts
in thread Programming Language to generate Perl Scripts

Wouldn't it be a mess of single quotes and double quotes?
Maybe. Why do you think it will be less of a mess of single quotes and double quotes if you would program it in a different language?

# Perl print '$samaadhi'; # Prints the text, not the value. # shell echo '$samaadhi'; /* C */ #include <stdio.h> printf("$samaadhi"); // Java System.out.print("$samaadhi"); # Python print "$samaadhi"; { Pascal } Write("$smaadhi"); // C++ #include <iostream> std::cout << "$samaadhi"; -- Haskell putStrLn "$samaadhi"; # MMIX string BYTE "$samaadhi", 0 Main GETA $255,string TRAP 0,Fputs,StdOut
Seems it's not any easier in another language.