version 1.2, 2008/07/29 17:51:08
|
version 1.3, 2008/07/29 20:52:20
|
Line 77 The routine used at MSU is as follows:
|
Line 77 The routine used at MSU is as follows:
|
|
|
\texttt{foreach my \$cid (keys \%\{\$instcodes\}) \{} |
\texttt{foreach my \$cid (keys \%\{\$instcodes\}) \{} |
\begin{quotation} |
\begin{quotation} |
\texttt{if (\$\$instcodes\{\$cid\} =\~{} m/^({[}suf]s)(\textbackslash{}d\{2\})(\textbackslash{}w\{2,3\})(\textbackslash{}d\{3,4\}\textbackslash{}w?)\$/) |
\texttt{if (\$\$instcodes\{\$cid\} =\~{} m/\^{}({[}suf]s)(\textbackslash{}d\{2\})(\textbackslash{}w\{2,3\})(\textbackslash{}d\{3,4\}\textbackslash{}w?)\$/) |
\{} |
\{} |
\begin{quotation} |
\begin{quotation} |
\texttt{\$\$codes\{\$cid\}\{'Semester'\} = \$1;} |
\texttt{\$\$codes\{\$cid\}\{'Semester'\} = \$1;} |
Line 90 The routine used at MSU is as follows:
|
Line 90 The routine used at MSU is as follows:
|
|
|
\texttt{my \$numyear = \$year;} |
\texttt{my \$numyear = \$year;} |
|
|
\texttt{\$numyear =\~{} s/^0//;} |
\texttt{\$numyear =\~{} s/\^{}0//;} |
|
|
\texttt{\$\$codes\{\$cid\}\{'Year'\} = \$year;} |
\texttt{\$\$codes\{\$cid\}\{'Year'\} = \$year;} |
|
|
Line 140 course code into its component parts.
|
Line 140 course code into its component parts.
|
\begin{quotation} |
\begin{quotation} |
\texttt{'Year' => '\textbackslash{}d\{2\}',} |
\texttt{'Year' => '\textbackslash{}d\{2\}',} |
|
|
\texttt{'Semester' => '^{[}sfu]s',} |
\texttt{'Semester' => '\^{}{[}sfu]s',} |
|
|
\texttt{'Department' => '\textbackslash{}w\{2,3\}',} |
\texttt{'Department' => '\textbackslash{}w\{2,3\}',} |
|
|