- or download this
BEGIN {
package mod;
...
}
}
print checkMod;
- or download this
C:\Documents and Settings\Owner\Desktop>perl -MO=Deparse, consttest.p
+l & perl c
onsttest.pl
...
consttest.pl syntax OK
goodMod
C:\Documents and Settings\Owner\Desktop>
- or download this
#!/usr/bin/perl -w
#COMMENTED OUT
#BEGIN {
...
}
}
print checkMod;
- or download this
C:\Documents and Settings\Owner\Desktop>perl -MO=Deparse, consttest.p
+l & perl c
onsttest.pl
...
consttest.pl syntax OK
goodMod
C:\Documents and Settings\Owner\Desktop>
- or download this
#!/usr/bin/perl -w
BEGIN {
...
}
}
print checkMod;
- or download this
C:\Documents and Settings\Owner\Desktop>perl -MO=Deparse, consttest.p
+l & perl c
onsttest.pl
...
consttest.pl syntax OK
goodMod
C:\Documents and Settings\Owner\Desktop>
- or download this
C:\Documents and Settings\Owner\Desktop>cat consttest.pl & echo: & ech
+o: & echo:
& perl -MO=Deparse, consttest.pl & perl consttest.pl
...
consttest.pl syntax OK
badMod
C:\Documents and Settings\Owner\Desktop>
- or download this
C:\Documents and Settings\Owner\Desktop>cat consttest.pl & echo: & ech
+o: & echo:
& perl -MO=Deparse, consttest.pl & perl consttest.pl
...
consttest.pl syntax OK
goodMod
C:\Documents and Settings\Owner\Desktop>