#!/usr/bin/earl #x=1; #x = #x + 1; #y = 2; while(#x != 10) { #x = #x+1; } if( #x == 2) { print "hi"; } else { while(#x != 50) { dbconn("myserver","user","pass"); dbse("dbA"); } } #sql = "SELECT * FROM TBL WHERE id='1'"; #result = dbexec(#sql); while(#row = dbgetrow(#result)) { print #row[0]; } #filename = "file.txt"; #fd = fopen(#filename,"w"); #x = filesize(#fd); #string = fread(#fd,#x); #string = #string >> #cat >> #x >> " the end"; MakeCookie("world",#x,time()+3200); #m = GetPost["help"]; #z = GetCookie["welcome"]; #!/end