If you are looking for a free soltuion you can try the 'O' module
perldoc O
assume hello.pl is a perl file
do the following
perl -MO=C hello.pl > hello.c
Now hello.c is a c version of your file
Compile it using your favourite C compiler ( you will have to include
all perl libraries anyway )
O
But glob 'absent_file.txt' returns ('absent_file.txt') so I think this does
what's required. As perldoc says, glob EXPR returns the value of EXPR with
filename expansions such as the standard Unix shell /bin/csh would do.
Whether this behaviour is a Good Thing is a separate question though, and
pu
On Tue, Dec 31, 2002 at 10:33:46AM -0500, Paul Kraus wrote:
> I am running emacs for windows. How do I use these debugging options? I
> currently use cperl mode.
>
I haven't looked at it too hard, but, under xemacs using linux I get a
reasonable debugging environment via the Debugger option on t
# Platform, SuSE Linux 8.1 and Mac OS X 10.2.3 both running Perl 5.8
#
# Destination platform Solaris 8
#
Hi,
I'd like to write some menus in Perl..
I looked at the FAQ and saw that perlmenu is recommended, so I
installed it.
It does not tell you it needs curses but when you first run it, it
thank you all (Dan Muey, Wiggins d'Anconia, Rob Hansom in particular),
the party is finished, there was a perl-experienced-user but I used all
my selfcoltrol to avoid to ask him something about programming (my
girlfriend would have never forgiven me ;P ).
After some hours of sleep, I was rewarded
If a visitor posting a file using a file upload box how do I retrieve that from the
cgi please give a simple example code
I'm Using NET:POP3 to download mail from pop server
which is in the same computer with my cgi
1. All the Attachments are comes as a Bulk of text
How do I convert it into real binary file?
Is Is there a Special Module for that purpose or should I use MIME:BASE64 manually
2. How do I attach a fi
Is there any Free Perl Compilers for Win2k
Yes I Mean to Creat Binary .EXEs
not the PERL interpreter
- Original Message -
From: "K Clark" <[EMAIL PROTECTED]>
To: "LRMK" <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 12:03 AM
Subject: Re: Name a Free PERL Campiler for Win2k
> On Thu, Jan 02, 2003 at 12:02:25AM +0600, L
Yes I Mean to Creat Binary .EXEs
not the PERL interpreter
- Original Message -
From: "K Clark" <[EMAIL PROTECTED]>
To: "LRMK" <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 12:03 AM
Subject: Re: Name a Free PERL Campiler for Win2k
> On Thu, Jan 02, 2003 at 12:02:25AM +0600, L
From: "LRMK" <[EMAIL PROTECTED]>
> If a visitor posting a file using a file upload box how do I retrieve
> that from the cgi please give a simple example code
I'm sure
perldoc CGI
does contain examples.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to
From: "Rob Dixon" <[EMAIL PROTECTED]>
> But glob 'absent_file.txt' returns ('absent_file.txt') so I think this
> does what's required. As perldoc says, glob EXPR returns the value of
> EXPR with filename expansions such as the standard Unix shell /bin/csh
> would do.
I see ... it only returns noth
From: "LRMK" <[EMAIL PROTECTED]>
> Yes I Mean to Creat Binary .EXEs
> not the PERL interpreter
It seems App::Packer promises to do that.
http://search.cpan.org/author/MBARBON/App-Packer-0.09/
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and
Hello everybody,
I would like to include a file in my cgi code so that it contains all the lists of
data, and later
can be edited from another form to create an admin tool for the lists in the main
form.
I have researched alot and found that I can use "require" or "use" for this purpose
but
I need to know, in the @ARGV, when a string is the name of a directory.
More precisely I'd like to write a script that:
processes the files of the textes in a dir
extracts the list of the sub-directories in a dir
in each sub-dir processes the files of the textes
extracts the list of the sub-di
maybe this does not ineterest you, but:
if you wanna substitute each code (for instance 010) with its correct
name (for instance red) you can use thw script that follows.
Actually I'm working on apply this script to an entire directory and
its subdirectories (see the mail "navigate the directorie
Use File::Find from std distribution. Has examples and if problems,
the list can help you.
Wags ;)
-Original Message-
From: Adriano Allora [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 01, 2003 13:21
To: [EMAIL PROTECTED]
Subject: navigate the directories
I need to know, i
Hi Jenda
See in-line.
"Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message
3E1349E5.27703.3CB576EE@localhost">news:3E1349E5.27703.3CB576EE@localhost...
> From: "Rob Dixon" <[EMAIL PROTECTED]>
> > But glob 'absent_file.txt' returns ('absent_file.txt') so I think this
> > does what's required. As
From: "Rob Dixon" <[EMAIL PROTECTED]>
> "Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message
> 3E1349E5.27703.3CB576EE@localhost">news:3E1349E5.27703.3CB576EE@localhost...
> > From: "Rob Dixon" <[EMAIL PROTECTED]>
> > > But glob 'absent_file.txt' returns ('absent_file.txt') so I think
> > > this d
I am not entirely sure I get what you are trying to do, but see inline.
Ebaad Ahmed wrote:
Hello everybody,
I would like to include a file in my cgi code so that it contains all the lists of data, and later
can be edited from another form to create an admin tool for the lists in the main form.
Always group reply so the list can help as well, as I definitely don't
have all the answers :-).
The code I sent earlier will open the list for reading only. To open a
file for writing you would have to use the > operator in the open, or >>
for appending, check out perldoc -f open for more info
Hi Adriano,
Here is a start. You might have to adapt it somewhat for youe specific uses. It
originated from a proplem Paul posed concernig a search for files of a given name on a
single level of a directory tree, and greww from there. It's taken on a bit of random
testion g code also. The i
Dont fork above the $server->accept() line.
this is where it shuld be
while($client=$server->accept()){
next unless(fork()); #The server is forked and parent goes back to
# listen
# One child of the server serves th
Help Folks..
I have run into a small problem with the script we have been working on for
log management.
Problem 1 - The script must be in the same sub directory as all the logs.
How can I get the script to run from /var/tmp/gatelog and not in
var/tmp/gatelog/glogs
Problem 2 - The Li
[ top-posting fixed ]
"R. Joseph Newton" wrote:
>
> Adriano Allora wrote:
>
> > I need to know, in the @ARGV, when a string is the name of a directory.
> > More precisely I'd like to write a script that:
> >
> > processes the files of the textes in a dir
> > extracts the list of the sub-directo
25 matches
Mail list logo