|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 418 (0x1a2) Types: TextFile Names: »perlsh.cmd«
└─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen └─⟦b5330643c⟧ »./cops/perl-4.019/perl.tar.Z« └─⟦2b9a58213⟧ └─⟦this⟧ »perl-4.019/os2/perlsh.cmd«
extproc perl -x #!perl # Poor man's perl shell. # Simply type two carriage returns every time you want to evaluate. # Note that it must be a complete perl statement--don't type double # carriage return in the middle of a loop. print "Perl shell\n> "; $/ = ''; # set paragraph mode $SHlinesep = "\n"; while ($SHcmd = <>) { $/ = $SHlinesep; eval $SHcmd; print $@ || "\n> "; $SHlinesep = $/; $/ = ''; }