![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| idea for script - cheking passwords | bullz26 | Shell Programming and Scripting | 5 | 03-21-2008 06:11 AM |
| compare null with non-null | nitin | Shell Programming and Scripting | 8 | 11-04-2006 07:58 PM |
| Null Value | Khoomfire | UNIX for Advanced & Expert Users | 1 | 04-10-2006 09:55 AM |
| argument help | brentdeback | Shell Programming and Scripting | 2 | 11-27-2005 03:53 PM |
| PERL: how to tell if variable is NULL | dangral | Shell Programming and Scripting | 4 | 03-19-2003 01:34 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Quote:
for not null checking in perl, how about using Code:
if ( ! defined $var ) {
print "not defined\n";
}
else {
print "defined\n";
}
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|