Title: RE: getopt
There are a bunch of Getopt modules out there. http://search.cpan.org/search?query=getopt&mode=module
-Original Message-
From: Electron One [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 20, 2003 5:54 PM
To: [EMAIL PROTECTED]
Subject: getopt
Everyone,
I
Is there some reason why winXP won't recognize command line arguments?
(ActivePerl 5.6.1)?
Perl code:
testarg.pl
print STDERR "Number of args in command line: $#ARGV\n";
command line: testarg.pl a b c d e
program returns: Number of args in command line: -1
I've just upgraded to XP, and I'm sur
I have some code that needs testing on 95/98. I don't
have that software, so I am hoping someone on this
list can lend me a helping hand. Here's the code:
#! perl.exe
print "Hello world" unless !defined $ENV{PROMPT}
or (defined $ENV{CMDLINE} and $ENV{CMDLINE} eq 'WIN');
__END__
Please run this
Everyone,
I'm trying to pass multiple args with a single switch, along
with several other switches. Like so:
script.pl -v file1 file2 file3 -s x -f y
Problem: I don't want to use -v file1 -v file2 -v file3. Nor do I really
want to single quote the -v file1 file2 file3.
Anyone have any ideas?
___
On Wed, 20 Aug 2003, john z wrote:
> hi:
> when i bring in a gif or jp file from http with a get, the headers come
> along with the file. ive been trying to strip them and noticed that the reg
> exp seems to fail under perl 806.
>
> the following should (imho) work but dont.
> $got_gif=~s[^http(.*
On 20 Aug 03, Todd Morrison ([EMAIL PROTECTED]) wrote:
> Is there a way to capture a user's MAC address when a user visits a web
> page? Can this info be captured through the use of $ENV{'HTTP_USER_AGENT'}
> or perhaps a Net module?
An ARP request targerted at the source ip *should* do it (or at
I am not sure what you are trying to accomplish
If you would give a sample of the expected output, it would help
- Original Message -
From: "steve silvers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 8:56 AM
Subject: Help with snippet
> This should be ea
On Wed, 20 Aug 2003, agharmine youssef wrote:
>
>
> -Message d'origine-
> De : agharmine youssef
> Envoyé : mercredi 20 août 2003 09:45
> À : '[EMAIL PROTECTED]'
> Objet : TR: ftp disconnect ?
>
>
>
>
> -Message d'origine-
> De : agharmine youssef
> Envoyé : mercredi 20 août 2003
On Wed, 20 Aug 2003, Todd Morrison wrote:
> Hello,
>
> Is there a way to capture a user's MAC address when a user visits a web
> page? Can this info be captured through the use of $ENV{'HTTP_USER_AGENT'}
> or perhaps a Net module?
>
> Any help/suggestions would be greatly appreciated. I am still a
On Wed, 20 Aug 2003, steve silvers wrote:
> This should be easier than this. The script below works, except where it
> matches with a number it has a duplicate?
>
> #!Perl
>
> $count = 0;
> $nums = 0;
> $numbers =
> "04|09|15|16|21|23|25|29|38|40|41|42|54|55|56|62|64|65|67|68|73|80";
>
> @a
>Seeing as there are about 10^85 atoms in the universe
More realistically the number that can be addressed by 64 bits. It must be
64, you're already over the amount that can be addressed by 32 bits
(something just over 2 billion). 64 bits will address some exponent number
that you won't have to
11 matches
Mail list logo