e
other comparison operators are autogenerated if the <=> is defined.
See
perldoc overload
section "MAGIC AUTOGENERATION".
Jenda
= je...@krynicky.cz === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much
eters then in general case you are extremely
unlikely to have problems if you remove the later invocation. In case
of Win32::Process I did not test it thoroughly, but looking at the
code I do not see any danger in removing it.
Jenda
= je...@krynicky.cz === http:/
at moment is to compare the new
file with a single old one. I would not call that a huge deal.
Comparing with all of them would be too expensive, comparing with one
is not. OK, in the extremely unlikely case that he gets a positive
match on files whose contents are not equal, he
perl
keys %hh = 64;
for (aa..zz) {$c++; $h{$_}=1; $hh{$_}=1; print "$c : ".%h." - ".%hh."\n";exit
if $cnt > 64};
__END__
As you can see the number of used buckets is the same for both hashes
as soon as the number of keys is big enough to force perl to allocate
the
print STDERR "sqllist = $sqllist1\n";
> $fish1 = $dbhstr->prepare($sqllist1);
> $fish1->execute();
> print STDERR "sqllist = $sqllist2\n";
> $fish2 = $dbhstr->prepare($sqllist2);
> $fish2->execute();
> my $fish =
been broken by some hotfix or "security" patch
for Windblows.
Jenda
= je...@krynicky.cz === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett i
t $lettermatch, {persistent=>1,force=>1} or &ConnError;
> }
Try to disconnect the drive letter, not the share. I think if you
specify the share, it breaks the connection (the server will no
longer see this computer among the connected ones, no files will be
open etc.), but doesn't
up window.
>
> Just using it from my script won't work...
Is the script running under the same account under which you tested
the ODBC connection? It might be a permissions issue or the DSN was
by accident created as a "User DSN", not "System DSN".
Jenda
=
From: Bill Luebkert
> Jenda Krynicky wrote:
> How's it going man - long time no talk.
Well, you know :-)
> Obviously it's got something to do with the IS version. You should
> check for kicks to see what binmode returns (T/F) when you do the :crlf
> option on STDO
print "EXE returned no newlines!!!\n"
}
if ($dll_content =~ /\x0D\x0A/) {
print "DLL returned CRLF\n";
} elsif ($dll_content =~ /\x0A/) {
print "DLL returned LF\n";
} elsif ($dll_content =~ /\x0D/) {
print "DLL returned CR\n";
} else {
else found a solution with this hosting
> service.
If you can upload your code, you can upload MIME::Lite or
Mail::Sender. Not sure about MIME::Lite, but Mail::Sender is plain
Perl and a single file and the only noncore dependencies are
MIME::Base64 and MIME::QuotedPrint.
Jenda
= j
give you the data of that tag+content one
at a time like XML::Twig. Or a module that lets you filter the tags
as they are encontered, transform the data structure as it's built
and process the datastructure at whatever level(s) that's convenient
like XML::Rules.
HTH, Jenda
= je..
s nice. Or a hash. But most
likely you'll find yourself wanting to do more things to all those
variables later. Which is trivial if it's a single variable
containing several values, but tedious if its several variables.
Jenda
= je...@krynicky.cz === http://Jenda.Kryni
me back a matching on a perl 5.8.8 system?
Most probably because it handles the @domain differently. Escape the
@. The \Q\E only affects the characters special to regexps, not the $
and @ that denotes a variable to be interpolated into the string.
Jenda
= [EMAIL PROTECTED] === http://Jenda.
ot use the hour and minute you do not
mind summer/winter-time.
If you need something more complex have a look at the DateTime module
(http://search.cpan.org/search?query=DateTime&mode=all)
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and
m all, I'll write the updated XML document back to disk.
Why do you want to load it all into memory and validate before you
start to update it?
You can process the file as you parse the tags and create the updated
file as you go. And if you find out it was not well-formed you can
delete the
les way where for each tag you specify what
data are you interested in or the code you want to execute for the
tag, its attributes, content and the data extracted from the subtags.
Eg in this case you might do something like
# http://search.cpan.org/~jenda/XML-Rules-1.03/lib/XML/Rules.pm
my $par
or somesuch object, but I do not remember any details.
It's also quite often better to wrap the functionality in a DLL using
ActiveState's Perl Development Kit's PerlCtrl. VB is generaly more
happy working with COM/OLE objects than with external applications.
Jenda
->get('/tmp/InstalledDB', 'c:/s2/InstalledDB');
> print "get status is $stat\n";
>
>
> ...I get the error:
>
> The getpwuid function is unimplemented at
> C:/Perl/site/lib/Net/SSH/Perl.pm line 110.
Net::SSH2 works fine for me under Windows.
Jend
y benchmarks, but it seems
to work fine.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
__
7;
$x++;
There are few cases when this is actually fine to use, one of them is
($newvar = $oldvar) =~ s/some/transformation/;
in this case again, you assign the value of $oldvar to $newvar and
then apply the s/// to the $newvar.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.c
uot;;
just like in normal Perl.
And most likely the problem is permissions. The account undex which
the ASP page runs doesn't have enough permissions to create the file
in the current directory.
Jenda
= [EMAIL PROTECTED] === htt
've got the same problem saying:
>
> Can't locate DBI.pm in @INC.
>
> What's the problem ?
DBI is NOT part of the default instalation. But it can easily be
installed. Start the Command Prompt and run
c:\> ppm
ppm> search ^DBI$
From: "intertwingled" <[EMAIL PROTECTED]>
> Threads are for wussies. Real programmers use processes and
> communicate with semaphores. ;-)
>
> Tony
Real programmers use whatever allows them to acomplish the task!
Jenda
= [EMAIL PROTECTED]
start" executable.
I really think
use Win32::FileOp qw(ShellExecute);
ShellExecute $filename;
would be easiest and safest.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
t
"command"...) means.
Anyway try:
system( 1, $filename_winword,"/n", "docs/$result->{DOCUMENT_NAME}");
Or you may try to install the latest Win32::FileOp and use
ShellExecute("docs/$result->{DOCUMENT_NAME}");
Jenda
= [EMAIL PROTECTED] ===
ActivePerl) you'd have to make quite a few changes to
c:\perl\lib\Config.pm
IMHO you'd better have a look at PAR (on CPAN), PerlApp (on
Activestate.com) or Perl2Exe (on perl2exe.com).
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and s
to write it somewhere (to a file or database) and then read
it back :-)
You may want to look at the DMB modules: DB_File, SDBM_File,
GDBM_File ...
Those give you persistant hashes, maybe that's what you need.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to
$cc_ppid");
>exit (0);
Maybe the file is locked. Or the path is wrong. Also the quotes are
not needed there.
You should print the error message, maybe that will tell you what's
wrong:
unlink( $cc_ppid)
or die "Cannot delete '$cc_pid': $^E";
Jenda
normally happen?
>
> Yes, thats where all the stuff in CPAN comes from. Read perlmodlib,
> and for building ppm installable modules, there's some documentation
> on Jenda's pages (jenda.crynicky.cz).
http://jenda.Krynicky.cz
There's K, not C :-)
Jenda
= [EMAIL PR
bsolutely the wrong thing to do - FIX THE ERRORS IN YOUR CODE!
While generaly I do agree in this case I'd simply add
no warnings 'uninitialized';
to silence this particular warning. I think the "fixes" to silence
this warning make unreadable code.
if (defi
ode related to the topic is welcome.
>
> Thanks,
> Patrick
I don't think I understand what you are after. You mean something
with BusinessObjects from http://www.businessobjects.com/ ?
Give us more info.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
20 of the 500 sec run
> time.
>
> So, my UX processor is slower but maybe has a better disk.
>
> And/Or: Is there some win32 setting that could be slowing the XP
> slurp?
Maybe the files are heavily fragmented. Try to defrag your disk.
Jenda
= [EMAIL PROTECTED] === http://J
the created object with the
agruments.
> $self->lookup () if $self->{ Domain };
If the personality() method set the Domain property of the object
call the lookup() method.
> return $self;
return the created and initialized object.
Jenda
= [EMAIL PROTECTED] ===
f you
ever do it. (Except of course for closures. The warning would only
warn about named subs. Now it obnly warns if you accidentaly create a
closure.)
:-)
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk a
From: [EMAIL PROTECTED]
> On 30 May 2003 at 14:56, Jenda Krynicky wrote:
> > From: [EMAIL PROTECTED]
> > > i trys to re-animate a script that (i suppose) work for me a while
> > > ago an my osx-darwin box. Now, i am sitting on a win32 maschine
> > > and get tota
From: john cesta <[EMAIL PROTECTED]>
> On Thu, 29 May 2003 23:51:15 +0200, Jenda Krynicky wrote:
> >From: john cesta <[EMAIL PROTECTED]>
> >>On Thu,
> >>I have been working with Microsoft and they have discovered a
> >>thread
> >>tha
p://www.jawa.cz/) and Pearl.
> Includes 10 Domains - 100% Browser Based Administration
This eludes me. Why would anyone advertise a drawback? Uploading
files using any web based admin is pain in the a..
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, wom
From: "intertwingled" <[EMAIL PROTECTED]>
> Oh, I use Perl to write CGI scripts all the time.
> I just don't use CGI.pm, because I think it's a
> silly module.
>
> Tony
I agree to a degree. Especialy yhe HTML generation code should have
been in
ar no luck. Does anyone know whether the CPAN
> version can be installed without a compiler and how it might be done?
You may get it from http://Jenda.Krynicky.cz/perl
now.
ppm install http://Jenda.Krynicky.cz/perl/TermReadKey.ppd
HTH, Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===
s here) which may be found in the archives at
http://aspn.activestate.com/ASPN/Mail/ and there is now a new
mailinglist specifically for PPM related issues at
http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/ppm
As Jan Dubois said the automated build process needs some work. But
he's working on that
Feb 2003 13:30:23 -0500
What's this? Why did I get a more than month old message?
I believe I've already responded to this one and the issue is solved.
If not please let me know.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wi
;> Does anybody know how to reference memory that is NOT declared or
> >> allocated by Perl?
>
> >perldoc -f unpack
> >
> >I believe Win32::Lanman will do all you need from netapi32.
> >(May be installed by ppm from http://Jenda.Krynicky.cz/perl)
> >
>
@words = split /\s+/, $str;
}
Or even like this:
my @words = do {
my $str = $line;
$str =~ s/^\s+//;
$str =~ s/\s+$//;
split /\s+/, $str;
};
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ==
change the file extension to something else it works fine
Could you send me an example .txt that does this? Also .. what
version of Mail::Sender do you have? How much of the txt file gets
truncated?
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and
Template::RTF::cmdbrace) {
qq{print "$Template::RTF::cmdbrace"; #cmdbrace\n}
} else {
''
}
};
in Template::RTF::Func.pm will become
use Interpolation::Scalar
'Cmdbrace:->$' => s
you want.
Could you give us an example of what you though may work and what you
wanted that to mean? :-)
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
From: "Arms, Mike" <[EMAIL PROTECTED]>
> Jenda Krynicky ([EMAIL PROTECTED]) write:
> > Mike Arms writes:
> > > Normally we just want to to just start our browsing for
> > > a directory from a given start point (e.g. last save dir,
> > > current
have to use Win32::Semaphore or something similar to
make sure your threads do not block.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Prat
From: "Arms, Mike" <[EMAIL PROTECTED]>
> Jenda Krynicky ([EMAIL PROTECTED]) wrote:
> > From: [EMAIL PROTECTED]
> > > Did anyone ever use that Dialog? The problem is, it says it can
> > > only use CSIDL_xxx Constants as Parameter for $rootdir. I'd li
And last thing ... you did not pay for CPAN, you did not pay for
ActivePerl, you did not pay for PPM repositories so you should be
gratefull for what you've got and stop complaining.
If something doesn't work FIX IT!
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When i
ight it is possible to set the root to a custom
folder, but it's too hard. The API is quite convoluted.
If anyone has the time and tuits to implement this I'll be happy to
incorporate the changes to Win32::FileOp.
Sorry, Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
ribution.
Please run
ppm remove Win32-Daemon
ppm install http://Jenda.Krynicky.cz/perl/Win32-Daemon.ppd
and try again.
Everybody who installed the Perl5.8 version of Win32::Daemon from my
repository please do reinstall the module. Sorry.
Jenda
= [EMAIL PROTECTED] === http:
I think he will add the 5.8 version to his repository soon as well.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
--
f you run
ppm install http://Jenda.Krynicky.cz/perl/Win32-Daemon.ppd
?
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry
of as variables and I want them to be known as constants when
the rest of your script gets compiled.
This is especialy good for things like
print "Some debugging data\n" if CMDLINE;
If the CMDLINE constant has a false value the whole statement will be
optimized away during compil
Not sure this is useable at this time, but there is also
http://Jenda.Krynicky.cz/#Template::RTF
It would alow you to create a template in Word and then fill in the
data. It does support loops and conditions!
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wi
? Unix-ticks or what it's
> called? The difference is the scalar context, no?
You actually do not get one huge number, but several small ones
concatenated together. Try:
print DEBUG join(', ', localtime);
And see the localtime docs. :-)
Jenda
= [EMAIL PROTECTED] =
From: "Roland Butler" <[EMAIL PROTECTED]>
> If I print to a file the following:
>
> "this line of text\n"
>
> Word understands the \n to be a paragraph mark, how do I insert a
> plain line break?
I don't think you can.
Unless you start crea
From: "Sabherwal, Balvinder \(MBS\)" <[EMAIL PROTECTED]>
> I wanted to know if it is ok to do something like $var =
> substring($var,10,20); in the perl script. I am trying to save the use
> of another variable in my script.
Yes this is all right.
Jenda
= [
From: "Dave Crawford" <[EMAIL PROTECTED]>
> Jenda, Sorry about the confusing question, I was confused myself and
> thought you were an AS employee.
No I'm not :-)
And I don't know when will Jan be in the office.
Jenda
= [EMAIL PROTECT
From: "James Smith" <[EMAIL PROTECTED]>
> Quick question?
>
> How can I search for one string within another?
>
> I have toyed with
> grep("right=", $line) but with no success.
Run
perldoc -f index
and read the docs.
Jenda
= [EMAIL PROTEC
a working version to my PPM repository at
http://Jenda.Krynicky.cz/perl
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
__
ahoj
===>
Jenda
P.S.: You still did not fix the bug I had in mind.
Look closely at this line:
if ( $bodytag =~ /<\s*(BODY)(.*)(=\s*["][^"]*)>$/igs ) {
The (.*) will match even things it should not. I think you s
From: "Dmitry Kostyuk" <[EMAIL PROTECTED]>
> Anyway, here goes the new version:
>
> ---
> #!/usr/bin/perl
> #bodytag_v2.2.pl
> #regex that matches the body tag
>
> ...
A few breakages ...
Hint: It's t
From: "Burchell, James" <[EMAIL PROTECTED]>
Subject:Win32::LookupAccountSid (Can't locate
auto/Win32/LookupAccou.al i
n @INC)
It should be Win32::LookupAccountSID
HTH, Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
; charset I need to use is windows-1250 or ISO-8859-2
>
> How can I fix this problem? Please help.
use CGI::Enurl; # http://Jenda.Krynicky.cz or CPAN
...
$URL = 'test.cgi?'.enurl({ var => 'vĂra'});
...
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
Wh
l throught the Windows Scripting Host,
> against using just plain perl with the Win32 extensions...
I do not see any reason to use WSH with Perl.
You get all the functionality that WSH could provide from Perl
modules.
IMHO WSH is great if all you know is VBScript of JavaScript, but
her case writing the data to a remote location is going to
create more problems than it's worth. You'd better write it somewhere
localy and then copy them somewhere with a background process
(service).
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to
use Win32::OLE;
instead.
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
___
ActivePerl ma
e in
> >English, but in Czech using the last name only without anything else
> >sounds a bit rude. Call me Jenda, please.
> >
> >Jenda
> >
>
> Oops. I apologize for offending you, Jenda.
No problem :-)
> Oddly enough, in Switzerland where I live, calling som
he needs an
SMTP server. But it doesn't have to be on the same computer as the
script.
3. Krynicky is my last name. I don't know if it's the same in
English, but in Czech using the last name only without anything else
sounds a bit rude. Call me Jenda, please.
Jenda
> >
:Sender and get the same problems -
>
> In all the scripts, using the new constructor fails (returns -1).
-1 means "The SMTP server ... was not found" in Mail::Sender.
Are you sure you have the address right?
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it c
From: "Mark Veinot" <[EMAIL PROTECTED]>
> Is there a way to see the audit policy on a file or folder?
use Win32::Perms;
Jenda=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz
==
When it comes to wine, women and song, wizards are allowed
to
;} = [$1];
$SIGNALS{$SIGNALNAME}{'isOUTPUTof'} = [$2];
-e syntax OK
So no, there is a difference.
Jenda=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz
==
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
--
@ 33.29/s (n=100)
Short: 2 wallclock secs ( 2.64 usr + 0.00 sys = 2.64 CPU)
@ 37.82/s (n=100)
As you can see there is a difference, but keep in mind that this benchmark doesn't do
anything else that it
accesses those hashes!
So maybe you could make the keys sho
t; hth
>
> toby
And if you want to be able to use the constants you have to load them
:
use Win32::OLE::Const ('Microsoft Excel 8.0 Object Library');
...
$Sheet->Range("a10")->Font->{Underline} = xlUnderlineStyleSingle;
Notice that there are NO quotes around the
t by wperl.exe instead of perl.exe
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
he most
important trick was to load modules I only need in either worker or
normal threads AFTER the fork()ing.
For the "service" related stuff I used Win32::Daemon.
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be.
ch for
make=, and change it from
make=nmake
to
make=dmake
Then run the
perl Makefile.PL
again and a dmake compatible makefile will be created.
There's another problem. If the module contains any XS code, you will
need a compiler, not only a make.
HTH, Jenda
=== [E
21 usr + 0.00 sys = 7.21 CPU)
@ 138696.26/s (n=100)
without: 5 wallclock secs ( 4.26 usr + 0.00 sys = 4.26 CPU)
@ 234962.41/s (n=100)
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I've s
From: "Joel Hughes" <[EMAIL PROTECTED]>
> Hi Jenda,
> I like your elegant solution.
>
> Could you talk thru your regex a bit more please? I like the mapping
> thing but dont see how the regex knows how to apply it? Is it
> something to do with the qr/?
>
&
From: [EMAIL PROTECTED]
> Jenda Krynicky writes:
> > I'd do it like this :
> >
> > # set up the mapping
> > %replace = (
> >Boulevard => 'Blvd',
> >Street => 'St',
> >Drive => 'Dr',
&
if it's a windows machine they can install it via PPM from my
repository at http://Jenda.Krynicky.cz/perl/.
Apropos, the DB_File should be installed with perl, I believe.
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I've
need to get the line where You made the mistake, the line
where you called that function incorrectly.
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table
From: "Robert Thorpe" <[EMAIL PROTECTED]>
> On 17 Jun 2002, at 22:10, Jenda Krynicky wrote:
>
> > > Defining interfaces - Not really much of a problem in my view.
> > > Again the document compares perl to CL which is certainly better
> > > in thi
lems at unexpected
times.
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
f the individual message you want to reply to.
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain
I can't find it.
From: Uwe Mayer <[EMAIL PROTECTED]>
> Hallo Jenda,
>
> >> From: [EMAIL PROTECTED]
> >> I'd like to override standard functions like 'print' but I can't
> >> figure out how to do that. Ideas? I've included a sample
lt;%@ Language=PerlScript %>
<%
... any Perl code
%>
all you need for this is a reasonably old ActivePerl (one year old is
new enough). You might want to install and use Win32::ASP or
ASP.pm to simplify some ASP specific issues.
Jenda
=== [EMAIL PROT
From: Rafferty Uy <[EMAIL PROTECTED]>
> I'm using the Net::SMTP module to send mails.. but
> It won't work since I'm not receiving any e-mail from
> my site. The smtp server that I'm using is
> "ccs1.dlsu.edu.ph" is there anything wrong with my
> code?
>
> use Net::SMTP;
>
> my($smtp);
> my $
int and compare %ENV,
look at the current directory, compare permissions, ...
In this case I bet it's the current directory. That is ... it's not what
you expect it to be.
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be.
ou also the coordinates of the click.
Jenda
P.S.: But this has nothing to do with Perl !
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my t
From: "francis Alix" <[EMAIL PROTECTED]>
> #!C:\BIN\DEV\Perl\bin\perl.exe -w
>
>
> my $chem=$0;
> $chem=~s/[^\\]*$//;
> print "path:$chem\n";
N.
$0 is NOT guaranteed to contain the full path.
use FindBin qw($Bin);
lude
2.nd solution
You compile into an .exe only the main script, copy the other parts
alongside the .exe and require them.
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I've seen it somewhere.
It's just that in th
ood way to solve this?
c:\> PPM
PPM> set repository Maedas http://our.company.jp/Maeda/ppms
PPM> set save
and from now on your repository will be searched as well.
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I'
d for complete cygwin.
> but it seems like the perl runtime is
> getting everything it needs here and is still not making the changes
> to the file.
I think Perl doesn't execute
s/this/that/g
but
's/this/that/g'
which is a little different thing, isn'
force new modules inclusion?
The HTML docs should be installed and added to the index as well,
but the .tar.gz is supposed to contain the HTML file. What module
did not install the HTML docs?
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for livi
relevant (I don't mind
if a service starts in 2 secs or 1.7 secs) or can be removed using
things like mod_perl or PerlEx. Which will make much bigger
difference because it'll remove other more important overheads.
In either case ... computing power is cheap, programmer's time is
e
DERR "Yep, perldoc.bat got started\n\n";
into it just below the
use strict;
?
Jenda
=== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
There is a reason for living. There must be. I've seen it somewhere.
It's just that in
1 - 100 of 152 matches
Mail list logo