It's telling you exactly what's wrong - you have not specified any
code for the -e option.
man perl:
SYNOPSIS
perl [ -sTuU ] [ -hv ] [ -V[:configvar] ]
[ -cw ] [ -d[:debugger] ] [ -D[number/list] ]
[ -pna ] [ -Fpattern ] [ -l[octal] ] [ -0[octal] ]
[ -Idir ] [ -m[-]module ] [ -M[-]'module...' ]
[ -P ] [ -S ] [ -x[dir] ]
[ -i[extension] ] [ -e 'command' ] [ -- ] [ programfile ]
[ argu-
ment ]...
In the code snippet I sent I specified some code that tried to pull
in the Socket module (I just copied the first two perl lines of
David's script):
$ perl -e 'use strict; use Socket; print("hello\n");'
perl -e on its own will raise the error you have seen.
If a module is missing you will get something along the lines of:
perl -e 'use no-such-module;'
Can't locate no.pm in @INC (@INC contains: [cut blah-blah-blah]) at -
e line 1.
BEGIN failed--compilation aborted at -e line 1.
But we are wandering well outside the realms of OpenBSD and into
perl. Try http://www.perlmonks.org/ or http://www.perl.com/ as
starting points.
On 19/09/2007, at 3:21 AM, pichi wrote:
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| jmerkey | [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-rc4 released |
| Christoph Lameter | [04/14] vcompound: Core piece |
| Andrew Morton | Re: 2.6.21-rc2-mm1 |
git: | |
| Stephen R. van den Berg | Re: Git vs Monotone |
| Ken Pratt | pack operation is thrashing my server |
| Barry Fishman | Problems setting up bare repository (git 1.5.3.3) |
| Francis Moreau | What about git cp ? |
| David Newman | setting dscp or tos bits |
| Peter | OpenBSD as Virtualbox guest |
| Iñigo | Re: Real men don't attack straw men |
| Richard Daemon | OpenBSD 4.3 running in VirtualBox? Anyone have it working properly? |
| Christoph Hellwig | Re: silent semantic changes with reiser4 |
| Jens Axboe | [PATCH][RFC] fast file mapping for loop |
| Al Boldi | Re: [RFD] Incremental fsck |
| Eric Sandeen | Re: [RFC] Heads up on sys_fallocate() |
