Re: Perl Unix Binary Files

2002-11-06 Thread John Pitchko
How so? Using unpack('b*', $data) to change it into a bitstring and pack('b*', $data) to change it back to ASCII??? -------- --- John Pitchko 3rd Year Computer Science - University of Regina Systems Trainee -

Re: Perl Unix Binary Files

2002-11-03 Thread John Pitchko
Ok so then how do I make my data binary? Use pack() and unpack() ? Thanks. -- John Pitchko 3rd Year Computer Science - University of Regina Systems Trainee - Data Services - SGI All e-mails and attachments are certified

Perl Unix Binary Files

2002-11-02 Thread John Pitchko
write binary data to that file. I was thinking that I would record the output from Data::Dumper into a scalar and write this scalar in binary mode to the disk. Can anyone give me any help with this -- John Pitchko 3rd

Re: Crypt:Cracklib Question...sort of.

2002-08-28 Thread John Pitchko
I think use lib "/blahblah/blahblah/" should fix that. Just put in the appropriate directory path. John Pitchko Data Services Saskatchewan Government Insurance >>> "Batchelor, Scott" <[EMAIL PROTECTED]> 08/28/02 10:34am >>> I have installed the Crypt

Re: Finding modules . . .

2002-08-15 Thread John Pitchko
Try find / -name Mailer.pm It should tell you where it is. John Pitchko Data Services Saskatchewan Government Insurance >>> "John Almberg" <[EMAIL PROTECTED]> 08/15/02 01:39pm >>> Luckily this is a beginning perl list, because I'm sure this is a rea

Re: Best Practices for Debugging and Error Handling in CGIScripts?

2002-08-15 Thread John Pitchko
use CGI::Carp qw(fatalsToBrowser) tail -f The 2 best tools out there! =) John Pitchko Data Services Saskatchewan Government Insurance >>> "David Simcik" <[EMAIL PROTECTED]> 08/15/02 12:21pm >>> Can anyone list some resources or methods they use for debug

Re: radius parsing

2002-08-15 Thread John Pitchko
Maybe it's just me, but how can you split on commas when there are not any commas in $log_entry? John Pitchko Data Services Saskatchewan Government Insurance >>> Hernan <[EMAIL PROTECTED]> 08/15/02 10:01am >>> John,everyone: I am sorry if the post wa

Re: radius parsing

2002-08-15 Thread John Pitchko
You really should try to use warnings and use strict. Also, are you wanting to extract and remove the date from $log_entry or replace it? John Pitchko Data Services Saskatchewan Government Insurance >>> Hernan <[EMAIL PROTECTED]> 08/15/02 07:08am >>> hello people i am trying

Re: Copying more than one file using File::Copy

2002-08-08 Thread John Pitchko
bably a pretty cheesy way to do this, but it is something to ponder, and I'm sure some of the more knowledgeable Perl-keteers can give better suggestions. John Pitchko Data Services Saskatchewan Government Insurance >>> <[EMAIL PROTECTED]> 08/08/02 03:00pm >>> Good day;

fetch CGI::Cookie Troubleshooting

2002-07-29 Thread John Pitchko
g the fetch = CGI::Cookie command, we get: Can't call method "value" on an undefined value at /appl/webdocs/cgi-bin/ve= rify.cgi line 45. We are using the exact code from the manpage and have no idea why this is = happening. Any suggestions? Thanks, John Pitchko Data Services Sas

Re: Stumped by "Learning Perl" example

2002-07-10 Thread John Pitchko
Seems to run fine on Solaris. Do like the other dude said and try it from the command line. PerlBuilder may not be intercepting the Ctrl-D/Z properly? John Pitchko Data Services Saskatchewan Government Insurance >>> "Mark M. Andrich" <[EMAIL PROTECTED]> 07/10/02 04

Regex Not Matching Newline

2002-07-10 Thread John Pitchko
e) but will not match the first (which was broken up by Dreamweaver to 2 lines). I know that in order for the . operator to match newlines, the /s modifier needs to be used, which I do have, and this has worked in the past but I am unsure why it is not working now. Thanks very much, John