Using qr// with substitution and group-interpolation in the substitution part

2023-10-25 Thread Josef Wolf
quot;bar $1 baz"'); # /e modifier not accepted Any hints? -- Josef Wolf j...@raven.inka.de -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: MySQL statement with REGEX / RLIKE containing a scalar variable possible?

2008-11-16 Thread Wolf
On Nov 13, 4:56 pm, [EMAIL PROTECTED] (Deviloper) wrote: I have a SQL-Statement with a Regular Expression and I want to use a scalar in that expression: (Looking for something like $tool =~ m/\Q$x\E/ ) #Find tools with xx in the name: $dbh-prepare (SELECT name FROM toolbox WHERE name

Re: What is wrong with this script ??

2008-08-21 Thread Wolf
!-- SNIP -- try using: chown $id:$gid $dir so that it would be chown 3051:3051 /home/users/s01-5-097 (or whatever) HTH, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: What is wrong with this script ??

2008-08-21 Thread Wolf
, the command will work. Unitil you have fixed your errors though, the issues will remain. Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: What is wrong with this script ??

2008-08-21 Thread Wolf
Take some SYS Admin classes. Once you have completed the training, your questions should have answers. Wolf Jyotishmaan Ray [EMAIL PROTECTED] wrote: Dear Wolf It still has not solved my problem completely, The output is shown below :- drwxr-xr-x 2 s08-1-5-095 3051   4096 2008-08

Re: create the home directories of 424 students in a server machine

2008-08-19 Thread Wolf
Jyotishmaan Ray [EMAIL PROTECTED] wrote: Dear All, I am a new bie in perl. I have to create the home directories of 424 students in a server machine. The path of the home directory would be :- /mnt/btech/formatted-rollno. where formatted-rollno =s08-1-5-097 And the

Re: Passing Variables to Perl through HTTP

2008-07-14 Thread Wolf
in the correct locations, it will fail with PHP, Perl, Ruby, FTP, etc. Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Mailing List Replies?

2008-06-16 Thread Wolf
be able to click REPLY-ALL and get the list in the response. But that's just my guess.. I am on a number of lists that require you to click REPLY-ALL if you want the list to get the response. It just depends on the thought process of the admins at the time. HTH, Wolf -- To unsubscribe, e

Re: 4 questions

2008-04-04 Thread Wolf Blaum
Is there a 'bible' out there to read? Depending on you level of faith: learning perl by randal schwartz tom phoenix the camel book by Larry wall bless you, wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: a regular expression issue

2008-04-04 Thread Wolf Blaum
as above, | lists alternatives, ie either cane or canine or .. ^ matches beginning of word, $ matches end Cheers, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

edit pdf

2008-04-03 Thread Wolf Blaum
to find documentation an a PDF::API2::Content::Text obj? - know why ma CAM::PDF call end in an endless loop - have any other idea how to replace certain strings in a pdf? - know a docu on how pdf works - which I obviously dont know... Thanks a lot in advance, Wolf -- To unsubscribe, e-mail

Re: Concatenating Strings

2008-03-24 Thread Wolf
You are setting $strB as the string strA instead of $strA($count) which is where you are getting hosed up. My perl server is down or I'd play with the code a bit to get it the exact answer, but that should point you in the right direction. HTH, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Concatenating Strings

2008-03-24 Thread Wolf
Bobby [EMAIL PROTECTED] wrote: Wolf, I still don't understand, so set my $strB = $strA($count); ? That didn't worked. Wolf [EMAIL PROTECTED] wrote: Bobby wrote: Hi all, I'm trying to write a simple do until loop to print out the value of $strA0 through $striA3

Re: Concatenating Strings

2008-03-24 Thread Wolf
. Set the responses in an array and just walk the array for a quick and dirty solution. Bobby [EMAIL PROTECTED] wrote: Thanks for both of your suggestions. I've tried them both but still getting same result. Any other suggestions? Thanks. Wolf [EMAIL PROTECTED] wrote

Re: free servers wanted

2008-03-08 Thread Wolf
and mysql from http://www.php.net and http://www.mysql.com HTH, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Best FREE Perl installation for Windows??

2004-11-02 Thread Lone Wolf
I need to get back to an installed Windows Perl environment. What's the best free option available out there, that everyone would recommend? I can do installs without too much issues, so installer doesn't matter, but ease of use does. Thanks, Robert --- Outgoing mail is certified Virus Free.

Possible OT: Site Spiders?

2004-05-18 Thread Lone Wolf
I need a site spider to stay in the same domain, but follow all links (saving all files encountered) for saving an entire business site. I have been looking around but have not found the one I am looking for, can anyone help? It can be PERL or Windows or PHP, it just needs to be locked to the

Re: Checking filenames? [:: ?Kinda Solved? ::]

2004-03-05 Thread wolf blaum
at cpan and at www.Bioperl.org Enjoy -Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Perl IDE

2004-03-05 Thread wolf blaum
you further need the appropriate DB driver module: DBD::InterBase for Interbase and Firbird RDBMS available via CPAN. Enjoy - Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Perl IDE

2004-03-05 Thread wolf blaum
you further need the appropriat DB driver module: DBD::InterBase for Interbase and Firbird RDBMS available via CPAN. Enjoy - Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Passing Data Between Servers

2004-03-04 Thread wolf blaum
. ...and at least the scripts are available on the net: http://modperl.com:9000/perl_networking Have fun, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Checking filenames? [:: ?Kinda Solved? ::]

2004-03-04 Thread wolf blaum
at cpan and at www.Bioperl.org Enjoy  -Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Forking

2004-03-03 Thread wolf blaum
process? what about prependin a $$ says: to each line of child output and doing a m // in the parent process? (Not to smart but all I can come up with and less complicated then having seperate handles for each child :-) Id be interested in how you solf that. HTH, Wolf Thanks. Jason

Re: Forking

2004-03-03 Thread wolf blaum
wait()ing or setting the signal handler? An what does that zombie do anyway. Thx, wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Help with Radio_group

2004-02-29 Thread wolf blaum
are returned, $text is set to the content of your texfield if radio=take, otherwise $txt is se to '00'. Read the CPAN docu for the CGI module if you need help with it - tons of examples. Enjoy, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Help with Radio_group

2004-02-29 Thread wolf blaum
On Monday 01 March 2004 02:06, wolf blaum generously enriched virtual reality by making up this one: On Sunday 29 February 2004 17:20, [EMAIL PROTECTED] generously enriched virtual reality by making up this one: Hi I have a script that processes a form input. What I want to do

Re: Pattern matching problem

2004-02-26 Thread wolf blaum
On Thursday 26 February 2004 12:28, Henry Todd generously enriched virtual reality by making up this one: On 2004-02-26 00:43:21 +, [EMAIL PROTECTED] (Wolf Blaum) said: As I understand Biology, there is 4 nucleotid acids which gives 4**2 combinaions for dupplets. So you need 8 vars

Re: Array question

2004-02-26 Thread wolf blaum
to @exclude (no xxx). However, this takes the whole sense of using a hash in the problem so instead of looping over the keys, loop over @email and @exclude. Or someone suggests a smarter way whih I would be interested in! Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Is there an etc. command in perl?

2004-02-25 Thread wolf blaum
to do? Enjoy, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Pattern matching problem

2004-02-25 Thread wolf blaum
using pos and regexes and a character class [gatc]{ $wordsize} - that would even make the thing usable for proteins by changing the character class to the protein alphabet But im getting OT her - maybe I should have done something else for a living:-) Enjoy (and reproduce), Wolf

Re: can't bind a reference using Tk

2004-02-24 Thread wolf blaum
= ${$_[0]}-get(); should work. I usually use something like : my $passed_ref=shift; and then work from there on. Enjoy: wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Perl Newbie

2004-02-24 Thread wolf blaum
. and: www.perldoc.com Enjoy, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: can't bind a reference using Tk

2004-02-23 Thread wolf blaum
(or a reference to one) if you dont need to for other reasons. HTH, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Checking for calling context

2004-02-13 Thread wolf blaum
that tells it? Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Which is better, opening and closing, or a massive file opening and a massive closing?

2004-02-12 Thread wolf blaum
files is, ie, what goes where of which cause: maybe someone can come up with a hash structure that incoorporates this knowledge. Dont open and close 42 files if you only will ever print to 2 of them. Enjoy, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: How to Implement a BNF syntax in perl?

2004-02-07 Thread wolf blaum
that satisfies this BNF in perl ? Any suggestions would be of great help to me. Maybe Config::Natural is good to you. Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

RE: Script Kiddie issues

2004-02-07 Thread Lone Wolf
Nah, because the only ones who receive the file are those attempting to do harm to my system. Granted I could make it go to a warning page, which after a few seconds dumps them to the other page, thereby giving them a warning before I fire the shot, just like a trespasser in my house. Do I shoot

RE: Script Kiddie issues

2004-02-07 Thread Lone Wolf
Who in their right mind would walk into a courthouse and tell the judge they were trying to break into a computer system (which in and of itself holds MANY penalties because information on a company system is invaluable per previous court cases) and say that they lost data on their system when

Re: Script to parse files

2004-02-06 Thread wolf blaum
For Quality purpouses, LoneWolf 's mail on Friday 06 February 2004 16:57 may have been monitored or recorded as: I've been working with this since wolf and jeff and john sent me some stuff, I think I actually based everything on wolf's code excerpts. I'm sure my final code is going

Re: Reg. string matching using reg-exp

2004-02-06 Thread wolf blaum
at the end of $line? Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Script to parse files

2004-02-06 Thread wolf blaum
For Quality purpouses, wolf blaum 's mail on Friday 06 February 2004 20:15 may have been monitored or recorded as: easy: (notice: thats the same script as priviously but has the parse in a sub:) ---snip--- #!/usr/bin/perl use strict; use warnings; my (@fields, $lng); ... and that my

Re: Remote script execution

2004-02-05 Thread wolf blaum
arround and change your local scripts everytime - see first ideas. You see: it gets out of hand - i better stop here. good luck, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Make this into a script to parse?

2004-02-04 Thread Lone Wolf
I'm back to dealing with the main issue of a badly formatted file being brought down from an archaic system and needing to be cleaned up before being passed to another user or a database table. I have the code below, which pulls the whole file in and parse it line by line. That problem is still

Re: Make this into a script to parse?

2004-02-04 Thread wolf blaum
For Quality purpouses, Lone Wolf 's mail on Thursday 05 February 2004 00:52 may have been monitored or recorded as: I'm back to dealing with the main issue of a badly formatted file being brought down from an archaic system and needing to be cleaned up before being passed to another user

Re: (U) What are the best Perl books out there ... More than 1 is fin e ... list as many as you like

2004-02-04 Thread wolf blaum
it in the linear way: Mastering regular expressions by Jeffrey Friedl Not to forget: perldoc perltoc or www.perldoc.com and The Hitchhickers Guide to the Galaxy and Last Chance to see by Douglas Adams. I guess others would recomend The Lord of the rings too. Good night:-) Wolf

RE: Make this into a script to parse?

2004-02-04 Thread Lone Wolf
I tried the my @fields and I did not get it to work, probably because my coding skills have not improved enough lately to be worthy of perl. Thank goodness I never said I had perfect code, because I would definitely be lying. I attached 2 files, one the beginning data, the other the .sql file

Re: removing all elements in an array

2004-02-04 Thread wolf blaum
no! wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Make this into a script to parse?

2004-02-04 Thread wolf blaum
For Quality purpouses, Lone Wolf 's mail on Thursday 05 February 2004 04:23 may have been monitored or recorded as: Hi Thank goodness I never said I had perfect code, because I would definitely be lying. no worries - I post code to get feedback. Thats the whole ideaof learning it. I

Re: Make this into a script to parse?

2004-02-04 Thread wolf blaum
For Quality purpouses, wolf blaum 's mail on Thursday 05 February 2004 06:07 may have been monitored or recorded as: The script reads all files in the sql subdir of your home dir and produces the corrosponding filname.out in your homedir. shame on me: of course it reads all the files

Re: Perl/Tk and portability

2004-01-30 Thread wolf blaum
. As Joseph was pointing out, examples in the Tk docu are an endangerd species: Mastering Perl/Tk by Steve Lidie and Nacy Walsh is an extended zoo of these. Enjoy clicking around, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: Running Perl CGI from Windows

2004-01-30 Thread wolf blaum
, along with the names of the second and third parameter. So the value of $name is: John Doe [EMAIL PROTECTED] message=This is the message Note that the first parameter's name does not appear. What does your form action=. tag look like? Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Running Perl CGI from Windows

2004-01-30 Thread wolf blaum
had the very same problem using the xitami webserver on WinOs. Dont ask me were that problem comes from - no clue:-) Hope that works, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: A little help please?

2004-01-30 Thread wolf blaum
looking around, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Regarding Text Widget in Perl/Tk

2004-01-30 Thread wolf blaum
is finished. Any Idea? Thanks a lot, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: goto command

2004-01-29 Thread wolf blaum
is another matter). (The difference being that C does not offer named loops combined with loop control. Perl does, and this replaces most structured uses of goto in other lan- guages.) hth, wolf -- To unsubscribe, e-mail: [EMAIL

Re: Use and Require

2004-01-29 Thread wolf blaum
, which can do a similar check at run time. There is tons more infomation of how use/require are simliar/different. Enjoy. Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: New Perl User needs help with POST in perl

2004-01-29 Thread wolf blaum
the parameters you expect are acctually there (by either doig it server side in your script or using a little ugly javascript client side). Hope thats a start, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http

Re: array push

2004-01-27 Thread wolf blaum
totaly miss something. Maybe. I'm not sure where you're misunderstanding what I wrote. Anyway, I hope this helps. ok - I think we are talking about the same thing here. thx, wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: array push

2004-01-27 Thread wolf blaum
For Quality purpouses, Rob Dixon 's mail on Tuesday 27 January 2004 00:30 may have been monitored or recorded as: The right conclusion for the wrong reasons Wolf! The spaces are the result of interpolating the array into a string, and the presence of a newline on each array element

Re: array push

2004-01-26 Thread wolf blaum
at the end of their emelents. hth, wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Slices

2004-01-26 Thread wolf blaum
@arary[3...] but this doesn't work?. What about @array[3..$#array] PS: @arary = typo? Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: complex data file parsing

2004-01-23 Thread wolf blaum
. Let me know if that does it or not. Thx, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: can i do it with perl ?

2004-01-23 Thread wolf blaum
yet, anything else I ever tried works in perl. Just give us some more info. Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: can i do it with perl ?

2004-01-23 Thread wolf blaum
at all. Have a nice weekend, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: From 5.6.1 to 5.8.2: how preserve installed modules?

2004-01-23 Thread wolf blaum
telling you which modules work in which version of activestate perl. There is a lot of modules that dont work with 5.8. yet (like Mail::POP3Client). Good luck, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http

Re: String concatenation qn

2004-01-23 Thread wolf blaum
-        stantially from what the author honestly meant. - This is one of the latter cases. Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Upload files and directories (MORE INFO)

2004-01-22 Thread Lone Wolf
I am transferring the data from a Redhat 9 machine to an IIS server run by my ISP. I just tried running rsync and it was not responsive (left it on overnight in fact to give it time to try). :( Thanks! Robert -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: How to take command line argument and use it to run an upgrade script.

2004-01-22 Thread wolf blaum
a look at perldoc perlvar for detailed info about @ARGV, ARGV and $ARGV. Hope that helps, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: complex data file parsing

2004-01-22 Thread wolf blaum
. Visit http://insidersadvantage.com for details. Uh, given from your question, I better dont,, eh? Good luck, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: How to take command line argument and use it to run an upgrade script.

2004-01-22 Thread wolf blaum
, since there is the one asking, who is learning too, whom you dont want to confuse with slightly right answers. Nevertheless Im happy it seems this is a group were you can even learn how to explain (and what the group-iquette is anyway). Thanks for that, Wolf -- To unsubscribe, e-mail: [EMAIL

Re: Need help comparing lines in two files

2004-01-22 Thread wolf blaum
. Just look at the link above. Hope thats a start, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: IO File Problems

2004-01-21 Thread wolf blaum
over there! Send me a mail in german (or austrian:-) if you need further help. Hope thats a start, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Upload files and directories

2004-01-21 Thread Lone Wolf
I am in dire need of a script that will upload everything from one server to another one that I can cron. Right now I have to do it by hand and with more and more updates being done to the site, I need a way to do it seamlessly. One that checks dates against each other would be cool too. i.e.:

looping through (a lot of) files

2004-01-19 Thread wolf blaum
then foreach bfile in B-file-dir foreach b-id in Bfile foreach a-id in Afile print to Cfile and next Bfile if a_id eq b_id thank a lot, wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org

Re: Reading/Writing Hash to Excel

2004-01-06 Thread wolf blaum
the sample data (results from extraction) as a attachment. I didnt find your privious thread so i might leave the calls of either way up to someone who knows that code. wolf ps: hope you arent a cowboys fan:-/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

wannabie asks Mail::POP3Client Mail::Audit

2003-12-30 Thread wolf blaum
::Audit::Attachment fails too. All mail headers of the retrieved messages do carry a MIME-version: 1.0 line as required by Mail::Audit::Attachment. All the other print froms and so work fine What am I doing wrong? Better solutions? Thanks a lot, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: wannabie asks Mail::POP3Client Mail::Audit

2003-12-30 Thread wolf blaum
fails too. That still holds valid: I cant the heck use te Mail::Audit class as I would like to: seems like I cant use it at all... Whats wrong here? My code? My understanding? My carma? Thanks, Wolf -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: printf

2003-12-22 Thread wolf blaum
number, in scientific notation %f  a floating-point number, in fixed decimal notation %g  a floating-point number, in %e or %f notation Just in case: scientific notation is something like XeY which means X times 10 to the poxer of  Y (power first!) HTH, wolf -- To unsubscribe, e-mail: [EMAIL

RE: RegEx Troubles

2003-12-19 Thread Wolf Blaum
/Enterprise (2001)/a/li'; $data2 =~ /popular title searches:\/pollia HREF=\\/title\/tt(\d*)\/\/; print $1; endSnip--- prints 0244365 If that's what you are looking for. If you realy have the html in $_, why do you bind $data2 to the regex? That way you try to find [regex] in $data2. HTH, wolf

Re: is false self-evident? [was Re: Perl trainer requests beginner help]

2002-02-10 Thread Michael R. Wolf
[EMAIL PROTECTED] (John W. Krahn) writes: Michael R. Wolf wrote: [EMAIL PROTECTED] (John W. Krahn) writes: Are you sure there are only three? :-) $ perl -le' print qq(undef is FALSE) unless undef; print qq( is FALSE)unless ; print qq(0 is FALSE) unless 0

Re: is false self-evident? [was Re: Perl trainer requests beginner help]

2002-02-10 Thread Michael R. Wolf
/failure mode, the true/success value is much easier. -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl trainer requests beginner help

2002-02-10 Thread Michael R. Wolf
[EMAIL PROTECTED] (Michael R. Wolf) writes: I'd like a few volunteers to take a test that I've put together for an Introduction to Perl class that I teach. If you are a beginner or recent graduate of an intro course and have a few minutes, would you time yourself taking this test and send

Re: Perl trainer requests beginner help

2002-02-02 Thread Michael R. Wolf
[EMAIL PROTECTED] (Peter Scott) writes: At 01:15 AM 2/2/2002 -0500, Michael R. Wolf wrote: I don't usually give quizes at the end of class, but a client of mine has requested it. (Required it in fact. No test, no payment!) [snip] | Sigils and data types | [snip

is false self-evident? [was Re: Perl trainer requests beginner help]

2002-02-02 Thread Michael R. Wolf
[EMAIL PROTECTED] (John W. Krahn) writes: Michael R. Wolf wrote: [...] Any value that is not false is true. What 3 values indicate false? Are you sure there are only three? :-) $ perl -le' print qq(undef is FALSE) unless undef; print qq( is FALSE)unless ; print qq(0

Perl trainer requests beginner help

2002-02-01 Thread Michael R. Wolf
, Michael Wolf /\ | \ /\ /\ /\ /\ /\ /\ /\ /\ /\ / | |==V== ==V== ==V== ==V== ==V== ==V== ==V== ==V== ==V== ==V

Re: one question to end the day on . . .

2002-02-01 Thread Michael R. Wolf
) { 3: $line =~ /\(.+?)\/ ; 4: $YourTextBetweenTheQuotes = $1 ; 5: # Do whatever you want 6: } 7: close (INFILE) Seems that a WinDOS file system insinuated itself on your Perl keywords -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED

Re: interesting JAPH, how does this work?

2002-01-10 Thread Michael R. Wolf
' = = The autodecrement operator, however, is not magical. I guess by within its range implies 3 (not 2) ranges: [a-z] [A-Z] [0-9] -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Inline file edit

2002-01-09 Thread Michael R. Wolf
*powerful* statement. In the right hands it's very good, else it's very bad Something like this might work. perl -e s/_VALUETEST/_QAP2/g -i original.scr -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: pull line #1 from a file

2002-01-09 Thread Michael R. Wolf
= FILE; -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: bash 'trap' equivalent ?

2002-01-09 Thread Michael R. Wolf
will get caught, handled, but *not* exit your program. Some times this is good behavior -- a C-c can do a reset, for instance. Check out stty -a from the command line. C-c is probably mapped to INT. That's why I stubbed out that key. -- Michael R. Wolf All mammals learn by playing

Re: @$

2002-01-09 Thread Michael R. Wolf
way (like me). -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Inline file edit

2002-01-09 Thread Michael R. Wolf
inplace editing -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: help with Net::POP3

2002-01-09 Thread Michael R. Wolf
, doing a copule 'o conditionals, throw a few my variables in one block (but try to use 'em in another) and the value of well-formatted code becomes real important. -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Inline file edit

2002-01-09 Thread Michael R. Wolf
[EMAIL PROTECTED] (Michael R. Wolf) writes: Other alternatives include #! /usr/bin/perl -w -i #! /usr/bin/perl -w -i .bak $^I = undef; Oops! May have been misleading. Here's commentary on alternatives. $^I = ''; # in-place, but no backup $^I = '.bak'; # in-place, with backup

Re: Inline file edit

2002-01-09 Thread Michael R. Wolf
[EMAIL PROTECTED] (Ronald Yacketta) writes: This works great with one exception... the two values in the sed need to be passed into the script... IE: changedbsid.pl OLDSID NEWSID filename(s) could be ran against 1 or more files at a time. I havethis which works like a champ on a

formatting is a tool [[was: help with Net::POP3]]

2002-01-09 Thread Michael R. Wolf
. -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SubRoutine Help

2002-01-07 Thread Michael R. Wolf
[EMAIL PROTECTED] (John W. Krahn) writes: Michael R. Wolf wrote: [buggy code deleted ...] $ perl -le' @fred = qw(1 3 5 7 9); sub total { my $sum; $sum += $_ foreach (@_); } # undef from final foreach always returned print total( @fred ); ' My bad! Sorry

Re: lexically scoped variables [was: use strict... and my auto-increment don't increase]

2002-01-06 Thread Michael R. Wolf
[EMAIL PROTECTED] (Leon) writes: and its happysad journey ends at the the curly Heavenly gates =}. I like it! Appropriate for eventualdeath With a name like that you should get real sharp with scoping. -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED

Re: Print / overwrite line

2002-01-06 Thread Michael R. Wolf
to advance the paper), but without the line-feed, the characters already on the line remain. -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: putback

2002-01-06 Thread Michael R. Wolf
, but it generalizes to as deep as you need. while (my $line = (pop @pushback || )) { ... push @pushback, $line if (your_conditions_may_vary); ... } -- Michael R. Wolf All mammals learn by playing! [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

  1   2   >