Getopt::Std problem

2001-12-15 Thread dan radom
I'm having a problem with Getopt. If I pass the -p option the script uses the proxy as it should. If i pass it -p -o it ignores the unless (exists($args{o})) and writes to $outfile anyway. Any idea why it's doing that? dan use LWP::Simple; use Getopt::Std; getopt('o:p', \%args); if (exi

Re: Scalar Localtime

2001-12-15 Thread Jonathan E. Paton
> I have a question. Why is it that I have to use 'scalar > localtime' to view a datetime in the proper format. > Why would I want to use the weird UNIX format that I > can't read? You don't, but Perl isn't stupid enough to impliement several dozen ways of displaying the date... not in the langua

wildcards in perl

2001-12-15 Thread Michael Pratt
How can I open several files with this format sn..txt where is 0001 0002 so on and so on? Thanks! Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Scalar Localtime

2001-12-15 Thread Michael R. Wolf
"Michael Pratt" <[EMAIL PROTECTED]> writes: > I have a question. Why is it that I have to use Scalar localtime to view a > datetime in the proper format. why would I want to use the weird UNIX format > that I cant read? If you want to manipulate the parts separately: my @slice = (I don't re

Re: Scalar Localtime

2001-12-15 Thread Jeff 'japhy' Pinyan
On Dec 15, Michael Pratt said: >I have a question. Why is it that I have to use Scalar localtime to view a >datetime in the proper format. why would I want to use the weird UNIX format >that I cant read? time() returns the number of seconds since 1970 -- I certainly can't divine the current date

Scalar Localtime

2001-12-15 Thread Michael Pratt
I have a question. Why is it that I have to use Scalar localtime to view a datetime in the proper format. why would I want to use the weird UNIX format that I cant read? Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Scalar Localtime

2001-12-15 Thread Michael Pratt
I do like UNIX. I was just wondering what type of program would you write to use that type of UNIX format? Mike "Jonathan e. paton" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I have a question. Why is it that I have to use 'scalar > > localtime' to vie

Re: ascii,hex,decimal printout problem

2001-12-15 Thread Jeff 'japhy' Pinyan
On Dec 15, Michael R. Wolf said: >Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> writes: > >> Do you know that the "printable" range of characters is >> from 32 to 126? > >Does Perl bring somethin similar through? Perhaps the >/[[space]]/ POSIX(?) character classes? (I'm sure I've got >the syntax wron

Re: ascii,hex,decimal printout problem

2001-12-15 Thread Michael R. Wolf
Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> writes: > Do you know that the "printable" range of characters is > from 32 to 126? In C, there are a bunch of macros (is_visable, is_num, is_alpha, etc..). They were just some interesting bit mask magic to a table full of OR'd flags. Cute algorithm, act

RE: How can I get ahold of the DBI file needed for a ActiveState ppm install?

2001-12-15 Thread Chris Spurgeon
Heh, copying the file structure from another Windows setup is exactly what I ended up doing. But what changes did you make to the autoexec.bat? Chris Spurgeon Senior Design Technologist [EMAIL PROTECTED] ELECTRONIC INK One South Broad Street 19th Floor Philadelphia, PA 19107

Re: How can I get ahold of the DBI file needed for a ActiveState ppm install?

2001-12-15 Thread VSNL
I had encountered a similar problem what i did was that i copied the perl folder loaded with all the modules (i.e the bin sub-folders,site and lib folders along with all the sub folder)on a zip floppy and transfered it on to my other computer And made changes in the Autoexec.bat files -Ori

How use a perl module openGL.tar.gz with Activestate

2001-12-15 Thread VSNL
I want to use the openGl-0.5 Module . I am working on Windows 95 platform .I am using the Active state verion 5.06 of perl. I have downloaded the tar version of the module.It has been unzipped and copied to lib directory of perl ..The commands perl makefile.pl have been executed but the make test

FW: Perl and Web Service Providers

2001-12-15 Thread Greennet
Merry Christmas All! Sorry if this is the wrong list. I'm new to Perl, CGI, and web service providers so I'm not sure if this is the right list to post my question to. If it's not will someone let me know where I should post to get an answer and I'll send it there. I wrote a Perl script using P

Get stuck when using modules

2001-12-15 Thread Perl Beginner
Hi all, I am using Windows 98 and active perl , and now I have 2 problems here : Q1) I am trying to use CGI module to output a GIF, but I found that it is fail . However, my purpose is to output multiple GIFs, just something looks like a counter. Would anybody have suggestion for a better module

Re: EOF

2001-12-15 Thread Jeff 'japhy' Pinyan
On Dec 15, Purshottam Chandak said: >control z and control q do not work. >control c exits the script Typing Ctrl-Z and pressing enter on a blank line works for me. You can also use the __END__ token. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia b

EOF

2001-12-15 Thread Purshottam Chandak
What is the end of file command in Win2000? control z and control q do not work. control c exits the script Help! Pc _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROT

Re: ascii,hex,decimal printout problem

2001-12-15 Thread Jeff 'japhy' Pinyan
On Dec 14, zentara said: >It works , but I'm getting unexplained (as of yet) >"corruption" in the alignment of the printout >in the ranges decimal 5-16, and 126-180. Do you know that the "printable" range of characters is from 32 to 126? Specifically... character 8 is backspace character 9

Re: Summarising tables - further question

2001-12-15 Thread Perl
Hi all, Thanks for those who replied to my posting appreciate all the help given. :) Based on the code written by John (thanks a lot), I would like to ask a further question : John's code ==> #!/usr/bin/perl -w use strict;

ascii,hex,decimal printout problem

2001-12-15 Thread zentara
Hi, I'm trying to get my ascii, hex, and decimal values straight. I wanted to print out all values from 0 - 256. It works , but I'm getting unexplained (as of yet) "corruption" in the alignment of the printout in the ranges decimal 5-16, and 126-180. I can still make sense of the output, but it