Berkeley CSUA MOTD:Entry 31939
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/12/25 [General] UID:1000 Activity:popular
12/25   

1996/10/17-19 [Computer/SW/Languages/Perl] UID:31939 Activity:high
10/17   Tk400.200 installed.  This is a perl5 extension for utilizing TK
        widgets in perl5 scripts.  Sample script is shown below.  -- cmlee
        #!/usr/local/bin/perl5
        use Tk;
        $main = new MainWindow();
        $label = $main->Label(-text => "Hello Sodalites!");
        $label->pack();
        MainLoop();
          \_ What I want to know is when we are going to stop calling
             perl5 perl5, and just call it perl :) :)
         \_ When you can do it without breaking everyone's old perl 4
          scripts.
          \_ /usr/bin/perl -> perl4, /usr/local/bin/perl -> perl5
             is how many sites have it set up.  Look into it.
           \_ Yes sir!  Looked into sir! Found that most
              perl-using soda users have scripts that say
              "#!/usr/local/bin/perl" expecting perl4 to
              be there and think you're an asshole sir!
              Any other orders sir?
         \_ Make perl4 point to perl, put an announcement in the motd
          warning people, give people a couple weeks to change
          their scripts, and then make the switch.  -alanc-