"Jimmy S. Lim" wrote:
>
> hi,
> i came across this statement while reading Perlop. I don't understand how %s
> is substituted w/ "s" or w/o "s" depending on the no. of dogs. %s is a hash.
Well, not in this instance. Within a printf() statement %d and %s (and
several others, perldoc -f sprintf f
Mihail Belanov wrote:
> In fact, Python is good language but rarely used yet.
Really? It seems quite prevalant in the Linux community. (or maybe I'm
just imagine things...)
Ian
--
99 little bugs in the code, 99 bugs in the code.
Fix one bug, compile again, 100 little bugs in the code.
100
Garrick Staples wrote:
>
> I've also found the mysql docs to be great at teaching SQL.
>
> select is at http://web.mysql.com/Manual_chapter/manual_Reference.html#SELECT
> and the TOC is at http://web.mysql.com/Manual_chapter/manual_toc.htm
Additionally, I know of at least one copy of the SQL-92
Anthony George wrote:
>
> Anyone have any suggestions for code check in/check out utils? Looking
> for something for perl only, that will keep track of changes to code,
> auto-increment a var($appVersion) within the code if it differs from the
> last known base, keep track of associated files...
Eric Stephenson wrote:
>
> Hi,
>
> I am using the following to try and get the file date and time but for some reason
>am not getting what I am expecting.
>
> Here is the snippet of code:
>
> $file = "install.log";
> $time = (stat("$file"))[10];
> $ltime = local($time);
>
> print "$ltime\n";
"Joseph P. Discenza" wrote:
>
> Garrick Staples wrote, on Thursday, May 25, 2000 17:19
> : You need to create what is known as an extension module. Look at the
> : 'perlxs' and 'perlxstut' man pages.
> :
> : "Nolen, Mike" wrote:
> : > Where can I find some documentation or an example of how to c
Rick Bolen wrote:
>
> >Subject: Re: Error in Installing Modules
> >From: "Robert Hanson" <[EMAIL PROTECTED]>
> >Date: Wed, 24 May 2000 15:08:30 -0400
> >
> >Yeah, there seems to be a problem... but there is a work around.
>
> It appears that ActiveState has changed the directory structure for th
khizar wrote:
>
> hi guys
> i am trying to read a file
> before this i use the foll code
> if (-B $filepath) {binmode FILEHANDLE;}
>
> while ()
> {
> rest of stuff;
> }
> this code works fine for all files EXCEPT PDF files where it fails to
> detect the PDF file as binary file and hence bin
Wagner-David wrote:
>
> I have the following snippet of code:
>
>my $auditt = backtick("Type $qvmin");
>foreach ( @$auditt ) {
> printf "$_\n";
> }
> This will print out what I expect.
>
> Now I want to do two actions and then print it out and I
[EMAIL PROTECTED] wrote:
>
> Hi. I am a unix-based programmer who is new to Activeperl and ppm. I am
> writing a new module and trying to prepare it for installation. But when i
> try to nmake Makefile, I get an error that Extutils:Makemaker cannot be
> located. I did a "search" in ppm and Extuti
"Hogue, Jon" wrote:
>
> I bet the screen saver and background images are simply registry values. If
> I were trying to do a similar task, I would search Microsoft's web page to
> find out what registry setting is used to set these things, and then get a
> registry module from www.cpan.org to set
Mike Blazer wrote:
>
> Ian D. Stewart wrote:
> >
> > Mike Blazer wrote:
> > >
> > > Bo Holmstedt wrote:
> > > >
> > > > Hello,
> > > >
> > > > I would like to build extensions with use of Borlands
&g
Mike Blazer wrote:
>
> Bo Holmstedt wrote:
> >
> > Hello,
> >
> > I would like to build extensions with use of Borlands
> > Development Environment but have problems to make
> > things work properly.
> >
> > The package I have downloaded from ActiveState for Windows
> > presume that I use nmake a
Axel Tietje wrote:
>
> Hi,
>
> is there anyone out there who knows more about
> Win32::OLE than I do?
I can think of at least one person who knows more about Win32::OLE than
all of us combined. That is its author, Jan Dubois.
> I have some problems with
> the objects, methods and properties t
[EMAIL PROTECTED] wrote:
>
> Ian. D. Stewart wrote:
>
> > From "ASP in a Nutshell", p. 27:
> >> > The Application object is initialized by IIS the moment the first client
> requests
> >> > any file from within the given virtual director
[EMAIL PROTECTED] wrote:
>
> Justin Rogers said:
> >> Everyone is saying that ASP caches pages in memory, but not the compiled
> >> pages. But I'd like to go straight to the root of the problem and that
> >> lies in some C/C++ code. So here goes:
>
> >> An Active Scripting Engine has to suppor
[EMAIL PROTECTED] wrote:
>
> >> Now will someone answer the original question for this guy?
> >> Assume this consultant only knows about VBScript and has only
> >> used VBScript with ASP. That is the default mind-set of a drone
> >> of the Microsoft collective.
> >> Now please compare IIS/ASP/VBS
Andrew Bastien wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> vim??? Real programmers don't need any of that fancy screen-oriented
> stuff; real programmers use ed!
Why mess around with the middle-man? Just set the bits manually and be
done with it... ;)
Ian
--
99 little b
Douglas Wilson wrote:
>
> On 05/16/00, "Roee Rubin <[EMAIL PROTECTED]>" wrote:
> > $val=~s|\\|\/|gi;
> > if (-e "$val") {
>
> There's no need for quotes around "$val", and
> no need to escape the forward slash. I don't
> think there's any need to substitute backslashes
> for forward
Ned Konz wrote:
>
> "Ian D. Stewart" wrote:
> >
> > Frank Merrow wrote:
> > >
> > > I am told there is a File::Compare module that will compare two files.
> > >
> > > A ppm search didn't show anything useful under "file&
Frank Merrow wrote:
>
> I am told there is a File::Compare module that will compare two files.
>
> A ppm search didn't show anything useful under "file" or "compare".
>
> Before I system("cmp $f1 $f2), does anyone know where to find this beast?
Try looking for Algorithm::Diff, or you can get t
> [EMAIL PROTECTED] wrote:
>
> Someone sure took a long, hard look at the MS Scripting Host and found
> out what it's capable of...! The Scripting Host was the main (if not
> the sole) reason that the "ILOVEYOU" virus was able to massively
> infect the MS community last week. As you rightly say:
Frank Merrow wrote:
>
> I'm at a lost as to how to turn a huge IDL file into a working Perl
> program. At this point, the search and discovery process is just VERY VERY
> VERY painful.
You may want to check with the usual suspects, and see if there is an
IDL compiler available for Perl. If so,
[EMAIL PROTECTED] wrote:
>
> > From: manhui [mailto:[EMAIL PROTECTED]]
> > Hi, all
> >
> > I would like to creat a wed mail acount under Linux RedRad6.2.
> "Wed" mail account? Web Mail account, perhaps?
>
> > Is there any tools or examples for me, any suggestion for it?
> Yes. Re
manhui wrote:
>
> Hi, all
>
> I would like to creat a wed mail acount under Linux RedRad6.2.
> Is there any tools or examples for me, any suggestion for it?
>From the command-line:
$ su
# adduser newuser
# chpasswd newuser
>From X:
Run: gnome-linuxconf
Drill down to the User Maintenance sec
Jan Dubois wrote:
>
> On Fri, 05 May 2000 13:40:03 -0400, "Ian D. Stewart" <[EMAIL PROTECTED]>
> wrote:
>
> >Here's the beginning of package Java::Class:
> >
> >> package Java::Class;
> >>
> >> use Java::ClassFile qw(:v
Jan Dubois wrote:
>
> On Fri, 05 May 2000 11:58:45 -0400, "Ian D. Stewart" <[EMAIL PROTECTED]>
> wrote:
>
> >if I add a 'use Java::ClassFile qw(:visibility)' to a regular script, I
> >am able to access accPublic, accProtected and accPrivate w
Howdy folks,
I'm struggling with Exporter, and am hoping someone can shed some
light...
I have the a package that starts like so:
package Java::ClassFile;
require Exporter;
@ISA = qw(Exporter);
@EXPORT_OK = qw(accPublic accProtected accPrivate accStatic accFinal
accSynchronized
John Green wrote:
>
> Ladislav,
>
> It is easily done, just install both. The problem is that
> you may have only one file association per suffix.
>
> i.e. You can't have .pl map to Perl 5.005_03 and 5.6
>
> One way around that would be to use different suffixes,
> maybe:
>
> .pl - For 5.005
[EMAIL PROTECTED] wrote:
>
> ok, let's say you have a file where each line looks like this:
>
> --a-- 430 Fri Mar 19 18:32:47 1999 D:\Program Files\Common
> Files\Adobe\Web\AwePrefs.txt
>
> and you want to get the filename (and every other field) out of it, the obvious
> thing to split on
Robert White wrote:
>
> From: "Ali BinAbdat" <[EMAIL PROTECTED]>
> > Could some body help me in getting a perl program that search my web
> > site (.html,.txt, ,,etc) and display the documents or pages that contain
> > the required word/s.
> > I tried some free perl programs but they did not supp
Kenneth Bandes wrote:
> Granted, if a DLL really is part of the operating system and ought
> to be shared, it should go into System32. But then, should parts
> of the operating system really be distributed with each application
> you install? This is a weird custom that only occurs with Windows
Charles Maier wrote:
>
> My ppm has stopped working on my Win98SE Pc. I de-installed perl (5.6.0) and
> reinstalled it.. still ppm does not function. I just downloaded a ppd module
> off of activestate.. unzipped it and typed (at DOS prompt):
>
> ppm install mailtools.ppd
>
> it comes up with a
Jan Dubois wrote:
>
> On Fri, 28 Apr 2000 16:26:03 -0400, "Ian D. Stewart" <[EMAIL PROTECTED]>
> wrote:
>
> >Doesn't Windows have something like LDLIBRARY_PATH/ld.so.conf?
>
> Not that I know. I know OS/2 uses a DLLPATH but Win32 just reuses the
&g
Jan Dubois wrote:
>
> On Fri, 28 Apr 2000 11:06:17 +0100, Ian Dash <[EMAIL PROTECTED]> wrote:
>
> > My problem lies with the search path used to find the DLL - after
> > playing around with making the ppd and installing it I've found out
> > that it only looks in the current executing dire
Eric Smith wrote:
>
> Hi
>
> I mailed recently on this subject but received no response :( so lets try
> again *shrugs*.
>
> I develop in perl for win32 end-users. We have chosen to deploy the perl
> as cgi scripts so user has a browser interface on the local machine
> (obviously this is scala
Philip Newton wrote:
>
> jimi malcolm wrote:
> > if someone could point me in the right direction, that would
> > be enough.
>
> perldoc -q "fetch an HTML file"
>
> It's in perlfaq9.
Or, for a non-perl solution, wget. You can grab the source code from
ftp://ftp.gnu.org/gnu/wget. Not sure if
Tim Hammerquist wrote:
>
> "Ian D. Stewart" wrote:
> >
> > "Greenier, Allan" wrote:
> > >
> > > Greetings,
> > >
> > > Can someone give me sample code to change perldocs PAGER?
> >
> > set PAGER="C
Joseph Wayne Norton wrote:
>
> Has anyone tried or know how to build the Win32::API module using
> gcc-2.95.2-msvcrt and perl-5.6.0? The compilation is failing at the _asm
> block in the xs module.
What is the error message(s) you are receiving?
If it's complaining about "reference to undefine
"Greenier, Allan" wrote:
>
> Greetings,
>
> Can someone give me sample code to change perldocs PAGER?
set PAGER="C:\WINNT\System32\notepad.exe"
perldoc will now display POD documentation in notepad.
HTH,
Ian
--
99 little bugs in the code, 99 bugs in the code.
Fix one bug, compile again, 1
40 matches
Mail list logo