Journal(2005) | Blog(2006) | RandomLink | WhoAmI | LiveBookmark | HomePage

<<Previous: 检查坏死链接  >>Next: When perl is not quite fast enough

DBI

Category: Basic   Keywords: DBI

  1. 判断顺序
    if (!defined ($a)) { print "NULL"; }
    elsif ($a eq "")   { print "empty string"; }
    elsif ($a == 0)    { print "zero"; }
    else               { print "other"; }
    

<<Previous: 检查坏死链接  >>Next: When perl is not quite fast enough

Options: +Del.icio.us

Related items Created on 2004-10-30 18:50:50
Copyright 2004-2005 All Rights Reserved. Powered by Eplanet && Catalyst 5.62.