Berkeley CSUA MOTD:Entry 13840
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

1998/3/19-20 [Computer/SW/Languages/Perl] UID:13840 Activity:moderate
3/19    Is there a way to use PERL or some other scripting language to
        create a windows95/nt shortcut?  I want to have something like a
        .bat file create a bunch of shortcuts then delete itself.  It
        can't be GUI based or interactive beyond an initial double-click.
        Pointers, URL's, etc, all welcome and appreciated.  -stuck
        \_ http://www.perl.org/CPAN/ports
                \_ I got it and version 0.03 of the Shortcut module worked
                   perfectly with a recent version of win32perl.  Thanks!
2025/05/24 [General] UID:1000 Activity:popular
5/24    

You may also be interested in these entries...
2008/3/4-7 [Computer/Networking, Computer/SW/Languages/Perl] UID:49324 Activity:moderate
3/4     Does anybody have some code or know of a program that will take a
        network/mask and return the list of address in that CIDR block?
        e.g. "iplist 10.10.10.0/24" and return 10.10.10.0 ... 10.10.10.255
        [I have a way to do this, but it involves distributing a large
        amount of code, which is kind of a hassle. Looking for something
        lightweight and either standard or easdy to rpm/port/yum install.]
	...
2007/9/10 [Computer/SW/Languages/Perl] UID:47986 Activity:low
9/10    Hi.  I'm running a package based linux distro.  Should
        I install perl CPAN modules through the provided packages,
        or through sudo cpan> install modulename etc ?
        Opinions?
        \_ Depends on the package system you're using, you may have to
           deal with both.  I had an experience where I installed via
	...
2007/8/7-13 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:47555 Activity:nil
8/7     I'm trying to figure out whether it's possible for get wget to
        authenticate to a web page protected by a login form ('post'
        method to send username/pass, and cookies.)  Cookies don't seem
        to be the problem, with --save-cookies and --keep-session-cookies
        but getting the username/password submitted isn't doing it.  On
        this particular page, getting to a link, let's say 'example.aspx',
	...
2006/6/29-7/3 [Computer/SW/Languages/Perl] UID:43527 Activity:nil
6/29    Visual Programming in Perl:
        http://search.cpan.org/dist/Acme-EyeDrops/lib/Acme/EyeDrops.pm
	...
2005/9/2-3 [Computer/SW/Languages/Perl] UID:39466 Activity:nil
9/2     Hey motd I used to have perl w/DBI 1.42 & DBD 2.9003. After
        upgrading Perl, DBI 1.48, & DBD 3.0002_1 I'm seeing something
        really weird. The following used to work:
        $dbh=$DBI->prepare("INSERT INTO data VALUES(\?)");
        for ($i=0; $i<10; $i++) {
          if (!$dbh->execute($i)) {
	...
2005/8/31 [Computer/SW/Languages/Perl] UID:39376 Activity:nil
8/31    Looking for an XML parser for Perl, preferably one that
        doesn't require installation (something already built in).
        If it's not already built in, I prefer something that doesn't
        require C compilation, and that I can just stick the *.pm
        to use. I'm looking for portability, not performance. Thanks.
        \_ What's wrong with using CPAN?
	...
2004/4/10-12 [Computer/SW/Languages/Perl] UID:13128 Activity:nil
4/10    In perl, how do I get time precise to the milisecond? The CPAN module
        requires recompilation and root access to install it, I'm looking for
        something more portable. Thanks!
        \_ If you need to know the time, there's no portable way to do it
           without modules.  However, if you just want a sub-second delay,
           you can do it with select -- for example, select "", "", "", 0.1;
	...
2004/4/12 [Computer/SW/Languages/Perl] UID:13154 Activity:nil
4/12    What's a good perl module (cpan) that strips off all the html
        tags and javascript crap? And perhaps be smart enough to strip
        off menus and ads? Thanks.
        \_ lynx -dump <pagename>
        \_ s/<[^>]*>//g
	...
2004/3/29-30 [Computer/SW/OS/FreeBSD, Computer/SW/OS/OsX] UID:12920 Activity:high
3/29    I'm installing binaries for both OsX and Linux and I'd like all the
        users to have /usr/bin/<files> to be accessible. I thought about
        /usr/bin/<files> for generic stuff (like scripts) and
        /usr/bin/<platform>/<files> for platform specific things.
        What is the correct approach to this?
        \_ there are obviously several ways to do this, and "correct" is mostly
	...
2004/3/30 [Computer/SW/OS/FreeBSD, Computer/SW/OS/OsX] UID:29888 Activity:high
3/29      I'm installing binaries for both OsX and Linux and I'd like all the
          users to have /usr/bin/<files> to be accessible. I thought about
          /usr/bin/<files> for generic stuff (like scripts) and
          /usr/bin/<platform>/<files> for platform specific things.
          What is the correct approach to this?
        \_ there are obviously several ways to do this, and "correct" is mostly
	...
2003/8/29-2004/2/14 [Computer/SW/Languages/Perl, Computer/SW/Unix] UID:12252 Activity:nil
2/13    Does perl have a "diff" facility? I have something that requires a
        lot of diff but file I/O using unix diff would be too slow. Thanks.
        \_ Text::Diff?  Really.  You could search cpan for this sort of thing.
	...
2003/9/9 [Computer/SW/Languages/Perl] UID:10121 Activity:high
9/8     Any recommendations for a text-based Yahoo instant messanger app
        for linux that logs.
        \_ Yahoo::Messenger
           \_ what do you mean, there isn't a CPAN module by that name.
              \_ Sorry, Net::YahooMessenger, but really, you could have
                 tried searching.
	...
Cache (7982 bytes)
www.perl.org/CPAN/ports -> www.cpan.org/ports/
So please don't ask to build a package for you: you have access to the plaftorm, not us. Also, this page lists operating systems, not hardware platforms: therefore Perl packages for, say, Linux PDAs or SONY Playstation, or XBox, or Tivo, or toasters, or so forth running Linux are not "ports" as such. There are, of course, exceptions to the above: if for some reason getting packages for the particular platform is hard (of example not that many people have the compiler environment for the platform, or there is no common repository for sharing packages), CPAN can consider hosting packages for such platforms. But if there is a commonly known repository to get packages in that particular platform, please first prefer uploading your Perl package there one instead of CPAN, because that common repository is where the users will go first. We can add a link to this page pointing to that common repository, of course. Note that this page is exceptional in CPAN in that we list some shareware and commercial software when it comes to Perl editors, IDEs, and SDKs. Anywhere else in CPAN we strongly disapprove any non-free (as in beer) software. This document contains pointers to binary distributions of Perl. However: Use The Source If you are on a UNIX, I strongly suggest that you compile Perl yourself from the 93 source code distribution. This way you always get the latest Perl and you can configure Perl as you like and you avoid the security risks inherent in installing binary distributions. If you are on Windows or MacOS, and you do not think you have any special needs, you will probably be perfectly happy with a binary build. If you have UNIX, or Windows, MS-DOS, VMS, Amiga, QNX, Plan9, MPE/iX, OS/390, BeOS, and a C compilation environment, you should be all set for compilation, the source code kit contains the compilation instructions. Some architectures also have available binary distributions for the most useful and popular Perl modules (such as Tk, MD5, GD). Some of the Perl binary distributions include such module distributions. For some architectures I also list sites that have other useful (but unrelated-to-Perl) software available. But if you insist on a potentially obsolete binary: * 110 BeOS * 111 BeBits has a lot of other software. BSD 112 BSD/OS| 113 Darwin (OS X)| 114 FreeBSD| 115 NetBSD| 116 OpenBSD BSDI BSD/OS Perl has always been a standard component of BSD/OS. Cygwin The easiest way to install Perl in Cygwin is simply to use the standard Cygwin 118 installation utility. Just follow the link and click on the "Install Cygwin now" icon. It will first ask questions about where to install and from where to install, and then you'll get to select what to install/update. All Perls are prepared to build DBD-Oracle (Perl needs to be linked with certain libraries). Linux * 150 ActiveState RPM, ActiveState formats * 151 Prebuilt Perls by Rich Megginson, a special installer is used. For a long time I tried maintaining the links to the Perl distributions of at least the major Linux distributions but that turned out to be rather frustrating exercise because the vendors/organizations seem to be restructuring their sites constantly. You have Linux, which means that you have a full compilation environment, which means you can 153 use the source code. Then there are various IDEs originating from Win32 but also available in Linux: * 155 Arachno Perl from Scriptolutions (Windows and Linux; Perl, PHP, Python, Ruby) * 156 Perl Builder from Solutionsoft (IDE Windows only, ActivePerl also for Linux and Solaris) * 157 PerlEdit from IndigoStar (Windows and Linux) The 158 SciTE editor works on both X (gtk+) and 159 Win32. The multiplatform 160 Eclipse IDE framework has Perl plugins available through the 161 EPIC project. Binary distributions for various Perl modules are also 170 available. The MacPerl application comes with a simple 32k text editor/IDE. The MPW Perl tool can use the MPW shell which has no 32k limit. If you want to build Perl yourself, you need to get the Mac OS X Developer Tools which has among other things gcc. Tenon MachTen * 183 Power MachTen and CodeBuilder (PPC-based Macintoshes) * 184 Professional MachTen (68k-based Macintoshes) MinGW MinGW is a collection of header files and import libraries that allow one to use GCC and produce native Windows32 programs. But if you insist on a binary: Several 190 possibilities exist, the most recommendable listed first. There is also a 195 Japanese port of Perl for DOS (DJGPP). Once you subscribe to the NDK you can download many other NDK components. The NDK site contains useful documentation and installation instructions. For information on how to build modules and related information, please visit 200 the NDK site or refer to the 201 README that are part of the standard distribution. Additional Perl modules that are not part of the NetWare binaries can be downloaded from CPAN. If you want a never one, ask someone at the ITUG, or try compiling 206 from the standard source. Note that you'll have to accept the Plan 9 license before getting to the additional software. But if you insist on a binary: * 219 PowerMAX, includes several modules. That is really old, you will either want 223 to compile from the sources or use the following: * 224 ReliantUNIX, pkgadd format. From Fujitsu-Siemens but not supported by Fujitsu-Siemens. You should be able to take any platform that calls itself UNIX and compile Perl on it without problems from the 249 source code. If the command line is not your bag, there are various graphical frontends: * 284 DDD (Data Display Debugger) (requires Motif/lesstif) * 285 ptkdb (requires the Tk extension) * 286 PerlDbGUI (requires the Tk extension) If you are on x86 Linux, you might also want to try the various available 287 IDEs. From Stratus but not supported by Stratus, runs on all Stratus platforms and many releases, but is not fully functional (because of the incomplete POSIX support it uses) (available from the same place). NET and includes the latest versions of Apache2, PHP, MySQL, OpenSSL, mod_perl, Apache::ASP, and a few other components) * 305 IndigoPerl (Perl for Win32, integrated Apache webserver, GUI Package Manager) * 306 SiePerl for Win32 by Siemens, contains several modules * 307 Prebuilt Perls by Rich Megginson, a special installer is used. These two are very obsolete and no more maintained or updated. The 313 Open Watcom, the 314 Digital Mars the, and 315 lcc compiler are available (the last one for non-commercial use only), but there are no reports of Perl being built with them (patches welcomed by 316 perl5-porters). There is a Windows port of Perl 5 to Japanese encodings (EUC and Shift-JIS): * 352 JPerl 353 MinGW is a collection of header files and import libraries that allow one to use GCC and produce native Windows32 programs. These are ports of UNIX-like environments for Win32, which are useful for compiling Perl (and at least Cygwin contains Perl as an installable package). Installing software is always a security risk, installing binary distributions doubly so. None of the CPAN maintainers, Perl developers or contributors, or any entities publishing this list in any media, will be liable for any damage caused by the transfer, storage, installation, or use of these distributions. The same in legalese: IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN AS IS'' BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.