>
>This appends the new library path to @INC. The usual method however is to
>prepend it to @INC, so the added paths are searched first. That would lead to
>
> unshift @INC, 'Put path to directory here';
>
Someone (including me) has mentioned many times,this couldn't work.
You should:
BEGIN
>
>I need to create a simple perl script that can mimic an SMTP server. Having
>some
>difficulty coming up with a workable solution.
>
>The script will need to run as a daemon (24/7) accepting connections on port
>25.
>When a request comes in,
>the script will take in the email as any SMTP ser
Lee Conine am Montag, 26. März 2007 16:03:
Hello
(just noted Tom Phoenix's answer with the hint to perlfaq8 after writing, but
sending anyway...)
> I see that there are a lot of people wanting to know how to add
> directories to their @INC permanently.
>
> I accomplished this by adding the foll
On 3/26/07, Robert Hicks <[EMAIL PROTECTED]> wrote:
Jeff Pang wrote:
>> I accomplished this by adding the following line to the end of my
>> startup.pl file: push(@INC, "Put path to directory here");
>>
>
> This is not mod_perl list.
> Since we discuss about common perl scripts not mod_perl,so
Jeff Pang wrote:
I accomplished this by adding the following line to the end of my
startup.pl file: push(@INC, "Put path to directory here");
This is not mod_perl list.
Since we discuss about common perl scripts not mod_perl,so your way seems not
useful here.
Instead of being critical may
On 3/26/07, Mike Lesser <[EMAIL PROTECTED]> wrote:
Hi all. First time using subroutines in external files. I've had some
sporadic success with some simple libs (not modules), but can't seem
to get consistent results.
What do you mean by "sporadic success"? Does something work only on
some invo
Hello All,
Does anybody know which package in Win32:OLE will Freeze Panes and call Format
Report method in excel document?
Thanks in advance,
Vladimir
Hi all. First time using subroutines in external files. I've had some
sporadic success with some simple libs (not modules), but can't seem
to get consistent results.
I've got a few subs files ending in 'pl' in a folder within my
scripts' folder:
UnitedScripts (dir)
myScript.pl
Lib
From: "Mike Blezien" <[EMAIL PROTECTED]>
> Hello,
>
> I need to create a simple perl script that can mimic an SMTP server. Having
> some
> difficulty coming up with a workable solution.
>
> The script will need to run as a daemon (24/7) accepting connections on port
> 25.
> When a request com
From: "Chas Owens" <[EMAIL PROTECTED]>
> On 3/26/07, Jochen Jansen <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > I will get the content of an array via a variable in the name of the array.
> > Is it possibel to join the array in a way as I wrote?
> > I know that my example doesn't work
> > Has anybody
From: Alan <[EMAIL PROTECTED]>
> It's a different case here ie not a var, instead it's a command line that's
> entered into a shell, such command line being passed to Perl. And the
> command needs to make it to Perl without getting altered before it gets to
> Perl.
>
> -s "\.
the "/"s i was referring to are in your 'waitfor' texts -
Password shows '/Password/' rather than 'Password' ->
waitfor('/Password/')
root shows '/root/' rather than 'root' -> waitfor('/root/')
if that doesn't point to the problem, i can't help any further. hopefully
someone else can.
On
simplest questions first...
is "sudo" a valid command on that particular system?
if so, is "sudo su -" a valid syntax in that environment?
is "/Password/" a valid prompt being returned by that system?
should the "/"s be a part of the prompt text?
i've never included "/"s in my expected returns u
I'm using Net::Telnet in my Perl script and I can get through the user
login ok. But when I try to "sudo" to root I can't get there. Any
ideas?
My $TELNET = Net::Telnet->new(Timeout => 10,
Prompt => "/$prompt/",
Er
Hello,
I need to create a simple perl script that can mimic an SMTP server. Having some
difficulty coming up with a workable solution.
The script will need to run as a daemon (24/7) accepting connections on port 25.
When a request comes in,
the script will take in the email as any SMTP server
On 3/26/07, Jochen Jansen <[EMAIL PROTECTED]> wrote:
Hi all,
I will get the content of an array via a variable in the name of the array.
Is it possibel to join the array in a way as I wrote?
I know that my example doesn't work
Has anybody a solution for me?
Thanks a lot
Jo
@M1= (a,b);
@M2= (e,f)
Jochen Jansen wrote:
> Hi all,
Hello,
> I will get the content of an array via a variable in the name of the array.
> Is it possibel to join the array in a way as I wrote?
> I know that my example doesn't work
> Has anybody a solution for me?
> Thanks a lot
> Jo
>
> @M1= (a,b);
> @M2= (e,f);
> $
Hi all,
I will get the content of an array via a variable in the name of the array.
Is it possibel to join the array in a way as I wrote?
I know that my example doesn't work
Has anybody a solution for me?
Thanks a lot
Jo
@M1= (a,b);
@M2= (e,f);
$count = 1;
until ( $count > 2 ){
print @M$count
On Monday 26 March 2007 07:32, Dave Gray wrote:
> On 3/25/07, Alan <[EMAIL PROTECTED]> wrote:
> > On Sunday 25 March 2007 18:14, Matt Herzog wrote:
> > > This is all I needed. I swear I had " /($searchstring)/; " in there at
> > > some point before . . . so if I pass it
> > >
> > > -s "\.propertie
Dave Adams wrote:
What are the general steps to building a hash from and xml document?
Here are my steps:
1. Read in xml document using XML::Simple
2. Create and empty hash
3. Loop through $VAR1 (the anonymous datastructure) and populate hash
Is this the general idea or is there a simplier wa
On 26 Mar 2007 at 11:55, Dave Adams wrote:
> What are the general steps to building a hash from and xml document?
>
> Here are my steps:
>
> 1. Read in xml document using XML::Simple
> 2. Create and empty hash
> 3. Loop through $VAR1 (the anonymous datastructure) and populate hash
>
> Is this t
What are the general steps to building a hash from and xml document?
Here are my steps:
1. Read in xml document using XML::Simple
2. Create and empty hash
3. Loop through $VAR1 (the anonymous datastructure) and populate hash
Is this the general idea or is there a simplier way?
Thanks to all,
D
>
>I accomplished this by adding the following line to the end of my
>startup.pl file: push(@INC, "Put path to directory here");
>
This is not mod_perl list.
Since we discuss about common perl scripts not mod_perl,so your way seems not
useful here.
--
To unsubscribe, e-mail: [EMAIL PROTECTED
I see that there are a lot of people wanting to know how to add
directories to their @INC permanently.
I accomplished this by adding the following line to the end of my
startup.pl file: push(@INC, "Put path to directory here");
Restart apache and you should be good to go! Hope this helps.
On 3/25/07, Alan <[EMAIL PROTECTED]> wrote:
On Sunday 25 March 2007 18:14, Matt Herzog wrote:
> This is all I needed. I swear I had " /($searchstring)/; " in there at
> some point before . . . so if I pass it
>
> -s "\.properties$"
>
> at the command line, it works as expetcted. Nice.
That migh
Ken Foskey wrote:
Is there a module that deals with zoned decimal from the mainframe '}'
is plus zero for example, after it is converted to ASCII?
Convert::IBM390 only seems to handle it in ebcdic format and it is
already mucked up before we get the file.
Hi Ken.
There's nothing I know about,
ok, thx a lot
Sunday, March 25, 2007, 9:38:08 PM, you wrote:
> Brandino Andreas wrote:
>>
>> Hi list
>> I am using HTML::TreeBuilder to parse a html page and find a specific
>> value.
>>
>> When i dump the array i get this:
>> $tree->dump();
>> more..
>> @0.1.0.1.1.0.
Is there a module that deals with zoned decimal from the mainframe '}'
is plus zero for example, after it is converted to ASCII?
Convert::IBM390 only seems to handle it in ebcdic format and it is
already mucked up before we get the file.
--
Ken Foskey
FOSS developer
--
To unsubscribe, e-mail:
28 matches
Mail list logo