tag. Now I know why. This is the first
time I ever have used heredocs.
Far better then other ways I have done it.
It all works now.
Sean
On 25/02/2012, at 11:51 AM, Rob Dixon wrote:
> On 25/02/2012 00:41, Sean Murphy wrote:
>> Hi All.
>>
>> I have a real issue with st
Hi All.
I have a real issue with strings. I want to build a sub routine skeleton plus
some test code. If I use () or {} etc. The string comes out completely messed
up. The code below is for a heredoc and complains that I am trying to define a
function. If I use the skeleton within a string. It
never you have a really
> multiple choice in your code AND you're able to use Perl 5.10 or later, at
> least consider using given-when construct instead of if-elsif-else one.
>
> -- iD
>
>
> 2012/2/19 Sean Murphy
>
>> Hi All.
>>
>> I am trying to cre
Hi All.
I am trying to create my own CLI navigation program. I am using Term::Screen
since it is nice and simple. I am aware that there are other modules out there
which does all this. But I want to learn more about the navigation of the
cursor around the screen. Initially I am working with som
t Term::ReadLine::Gnu does, as it's an interface to a very
> powerful {libreadline} term library.
>
> So install Term::ReadLine::Gnu module (if needed, libreadline-dev as well)
> - and have fun with preput text without changing a line in Shlomi code. )
>
> -- iD
>
Term::ReadLine->new ('test');
while (my $text = $rl->readline('$', 'Hello'))
{
print "You've given '$text'\n";
}
So it appears the line in the while ignores the 'hello' parameter.
Thanks for the code. Any other ideas?
Sean
On 08
Hi All.
This should be a simple task. But for the life of me, I cannot work it out.
I have a chunk of text in an scaler. I want to edit this text. I look at
Term::ReadLine and couldn't see a way of inserting the text into the edit area.
There is addhistory which adds to the history buffer. but
Hi All.
I am trying to create a menu system using a range of different modules.
I have used Term:Menus; which works mostly. But it is failing when I try to use
a 'return => "@test ()" hash element when defining the menu.
I have used Curses::UI and found the module quite good. But I could not w
All.
How can I access my IMap messages from Google via Perll. I wish to extract the
message body only.
Sean
Hi all.
I am starting another project and I wish to know the best method of creating a
web page via Perl. I don't want to reinvent the wheel here. The perl script
must generate plain 4.0 HTML code. I am not after any bells or whistles on the
page.
The Perl script will go through all my Audio b
HI Shlomi
Thanks, I will check that out. Peace on the land is the best of course. :-)
Sean
- Original Message -
From: "Shlomi Fish"
To:
Cc: "Sean Murphy"
Sent: Saturday, April 23, 2011 4:54 PM
Subject: Re: Scripting problem when launching links using mech.
H
Hi All.
I have a script that goes to google. Performs a search. I have a regular
expression that gets all the links. The first link in the array I return is
ment to open the next page. But it keeps failing with an error stating it is
illegal page. When I try and use lwp, it says you cannot use
Hi All.
I am wondering how do you extract properties from objects. If we use
WWW:Mechanize as an example. How would you get the properties of the first
link. Lets say:
my $l = $mec->find_link (text => 'link');
So I would like to find out the text of the link, URL, attribs, etc. This is
just a
Hi all.
I am starting a new project to expand my Perl skills. I am seeking for a module
that will read Mp3 and Apple Audio files tags. If the file does not have any
tags at all. I am hoping for a module that will take a sample and send it to a
server on the net to identify the song/artist/etc.
Hi all.
I am having a bad week. things are not working as they should. Grin. Fix one
problem ane another pops up.
I have been successful in logging into other sites using the identity method
when a loging pop-up appears. But as yet, I have not been successful in using a
loging form that is bui
Hi guys,
thanks. I have removed Active PERL and now are using strawberry to do my
work. No problems with Strawberry and I can get rid of the MS C++ Express
2010 compiler.
Sean
- Original Message -
From: "Sisyphus"
To: "Sean Murphy" ;
Sent: Wednesday, Janu
Hi all.
I cannot install any CPAN libraries because CPAN complains that I don't have a
64 bit Make executible. I have installed the Express 2010 C++ package from
Microsoft. It didn't help.
I couldn't find anything on the web that clearly indicated what was required to
resolve this issue. Any h
Hi All.
what modules are out there that support ssl certificis that would work with WPL?
Sean
Hi All.
I have read the page and the O'rielly book on PWL. I must be thick or
something. but when I dump the content of the web page into the treeBuilder
via a scaler. Then I try and print the tag. I get:
HTML::Element=HASH(0x41b1074)->Tag ( )
Below is the code extract. I have included the H
Hi all.
I posted previously on how to move in a tree by a node at a time by using
HTML:TreeBuilder which is used with LWP.
I wish to move by a single node and get the following info:
tag of the current HTML element.
Text of the HTML element.
Attributes of the current HTML element.
Of course, i
-
From: "Uri Guttman"
To: "shawn wilson"
Cc: "Sean Murphy" ;
Sent: Tuesday, January 11, 2011 9:44 PM
Subject: Re: Map function, what does it do?
"sw" == shawn wilson writes:
sw> On Tue, Jan 11, 2011 at 4:57 AM, Sean Murphy
wrote:
>> Hi
Hi
With this class, can you build relationships with it? so if I have a
database that has five tables.
table1 contains a list of book names, book type, etc.
Table 2 contains book id and author id to establish a many to many relation
ship with the author table with is table 3.
Table 4 is th
Hi all.
I have read the explaination of the Map function and it is still a mystry to
myself on what it is for and when would you use it?
All explainations I have seen in books and blogs don't make it clear.
Sean
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional comm
23 matches
Mail list logo