skip to main
|
skip to sidebar
It's Nothing
Pages
Home
Perl
Thursday, April 12, 2012
verify whether variable is defined in perl
my $variable;
if (defined($variable))
{
print "defined";
}
else
{
print "not defined";
}
#---------------
unless (defined($variable)) {
print " not defined";
}
else
{
print" defined";
}
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Nuffnang
Blog Archive
►
2013
(
5
)
►
March
(
3
)
►
January
(
2
)
▼
2012
(
54
)
►
August
(
1
)
►
July
(
2
)
►
May
(
3
)
▼
April
(
10
)
Della丁噹【不是你的錯】MV youtube
read text file and store line in array
read excel file in unix PERL module
Spreadsheet-ParseExcel
install Spreadsheet::WriteExcel Spreadsheet::Parse...
verify whether variable is defined in perl
verify whether array is empty perl
Disable Copy, Cut,Paste, Paste Special Menu in excel
sample paste value only
split string by using regular expression
►
March
(
19
)
►
February
(
18
)
►
January
(
1
)
►
2011
(
8
)
►
November
(
3
)
►
October
(
2
)
►
September
(
1
)
►
July
(
1
)
►
May
(
1
)
►
2010
(
8
)
►
June
(
3
)
►
April
(
2
)
►
March
(
3
)
►
2009
(
37
)
►
December
(
1
)
►
October
(
2
)
►
September
(
1
)
►
August
(
3
)
►
July
(
7
)
►
June
(
1
)
►
April
(
3
)
►
March
(
3
)
►
February
(
2
)
►
January
(
14
)
►
2008
(
2
)
►
December
(
2
)
Blog List
Rain
FEEDJIT Live Traffic Feed
Feedjit Live Blog Stats
Followers
chat here...
0 comments:
Post a Comment