Re: a question about pack

2010-08-23 Thread Albert Q
2010/8/22 Uri Guttman : >>>>>> "AQ" == Albert Q writes: > >  AQ> 2010/8/22 Uri Guttman >  >> >  >> >>>>> "AQ" == Albert Q writes: >  >> >  >> a quick comment. pack is most likely not a beg

Re: a question about pack

2010-08-23 Thread Albert Q
2010/8/22 Dr.Ruud : > On 2010-08-22 13:16, Albert Q wrote: > >> pack '(H*)*', @values   will get the correct result. > > Now go and read perlpacktut a few times. This problem is documented in perlpacktut clearly. Thank you. > -- > Ruud > > -- >

Re: a question about pack

2010-08-22 Thread Albert Q
2010/8/22 Uri Guttman > > >>>>> "AQ" == Albert Q writes: > > a quick comment. pack is most likely not a beginner issue. i am sure you > will get help here but think about better forums for asking about > pack. there are plenty. pack is powerful and some

a question about pack

2010-08-22 Thread Albert Q
values; I will get the correct result of 4 bytes 0x12 0x34 0x56 0x78 My question is, does there exist some other more simple way to accomplish this transfrom, for example, just one modifier to tell the pack to use all items of the LIST? Thanks & Best Regards Albert -- missing the days we spend together

Re: Regexp to remove spaces

2009-12-21 Thread Albert Q
2009/12/20 Dr.Ruud > > sftriman wrote: > >> I use this series of regexp all over the place to clean up lines of >> text: >> >> $x=~s/^\s+//g; >> $x=~s/\s+$//g; >> $x=~s/\s+/ /g; >> >> in that order, and note the final one replace \s+ with a single space. >> > > The g-modifier on the first 2 is bog

Perl Script to Call a Web Page?

2008-11-25 Thread Albert
I use a simple PERL script to add and remove email subscriptions to newsletter. Would like to find someone who could possibly modify this script so that instead of having error codes and confirmation messages embedded in the script, the web pages would simply be called from the script. I could the

Re: graphics in perl

2008-06-23 Thread Jim Albert
specific keywords, because I don't believe all the graphics modules are in that list. For example, I've used Image::Magick for doing some basic image resizing and conversion, but I don't see Image::Magick in that list. -- Jim Albert -- To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: perl include dependencies?

2007-08-23 Thread Albert Lash
Thank you Chas! I checked that out and found their tutorial which contained a variation on scandeps which can output files as well as modules: scandeps.pl -V -e "use DJabberd.pm" The PAR functionality looks like it will be helpful to for keeping the filesystem tight as well. On 8/22/07, Chas Owe

Win32::GUI Question

2006-03-30 Thread Albert
) { Win32::GUI::Dialog_Only_Once(); Check_For_Other_Events_Not_From_The_GUI(); }; Is this possible, and if so: how? Thanks in advance. Regards, Albert -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn

Newbie problems with > in a string

2003-12-26 Thread Albert Browne
in the TEXTAREA block which is correct. I have tried printing the string a bit at a time it is ok until it gets to the >. The string then appears to be empty. What am I missing? Regards Albert $title = $query->param("Title"); if ($title ne "") {$Meta = "\n"}

Re: format

2003-06-20 Thread Ataualpa Albert Carmo Braga
doc perlform | Dear John, Thank you very much. Exactly what I was looking for. Best regards, Ata. |John |-- |use Perl; |program |fulfillment | |-- |To unsubscribe, e-mail: [EMAIL PROTECTED] |For additional commands, e-mail: [EMAIL PROTECTED] -- Ataualpa Albert Ca

format

2003-06-19 Thread Ataualpa Albert Carmo Braga
438591.300844 C 3.5326323.241100 -0.087005 S 4.426205 -0.568871 -1.005668 O -4.671286 -0.193843 -2.360360 C 3.2476724.5126252.076377 Is it possible? Thank you for any information. Best regards, Ata. -- Ataualpa A

foreach, if/else, and concatenation

2002-12-21 Thread Albert L. Lukaszewski
#print "@lineOut"; # printf OUT "@lineOut \n"; # Print the lineOut array to the output file } #print "\n @field \n"; close (OUT);# Close the output file close(INFO) ;

Separating a scalar for searching

2002-11-16 Thread Albert L. Lukaszewski
I am developing a search engine for a database I use. The database is static and consists of comma delimited files. After reading the text line-by-line into a scalar, I would like to analyze the data by field. How could I separate the fields or, at least, analyze them separately against a search