I use something like this
sub provera_korisnika #Proveravam korisnicko ime i lozinku
{
$ime = $user-get_text; #this method get text from entry
$lozinka = $pass-get_text; #this to
$dbh = DBI-connect(
DBI:mysql:evidencija,
I am writing the new method for class Empolyee which inherited from
the base Person, the Person's new emthod expects a hash as its
parameters, because it is a class using Class::DBI.
The Employee's new method use hashref as its parameters, so how should
I write the new method for class Employee?
Nenad wrote:
I use something like this
sub provera_korisnika #Proveravam korisnicko ime i lozinku
{ $ime = $user-get_text; #this method get text from entry
$lozinka = $pass-get_text; #this to
$dbh = DBI-connect(
DBI:mysql:evidencija,
hi,
how to rebless another object in current package's constructor? could
somebody give me an example?
--
perl -e 'print unpack(u,62V5N\FME;G\!EFQ`9VUA:6PN8V]M\[EMAIL PROTECTED]
)'
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All
I have perl.chm file Learning Perl, How do i print all the chapters
and all pages in
the perl.chm file
when i click on print, only one page gets selected and in the print
dialog I can see only one page
How do i select all the pages so that I can print the entire book
Kaushal
--
To
Nenad wrote:
: I use something like this
Humor me and do this exactly. Show the list what the
result is. Change passwords where appropriate. I am
curious about whether this part works. Let's make sure
it does before we move on to checking for a valid user.
use strict;
use warnings;
use DBI;
Hi List!
I'm a beginner in Perl,
i want to know if there is any module available which
allows me automated testing of an application.
I saw there's WWW::Mechanize for Web based
applications, but the one i'll be testing is not
web-based.
Thanks in advance,
Dhanashri
Wondering how I can insert a value: abc| w/o the quotes) immediately
after the third | (pipe character) in file xyz.txt. Each record within
the file has 14 fields separated by the pipe character.
Example:
Before:
one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fourteen|
Dear expert,
I have the intention to write a Perl based CGI script that does the following
steps:
1. Take user input - including email - with a CGI script (mail_result.cgi).
2. Based on these input param, submit a long running Perl script
(compute_price.pl) on the background
3. Email
On 5/18/06, Ken Perl [EMAIL PROTECTED] wrote:
how to rebless another object in current package's constructor? could
somebody give me an example?
perlobj sez:
Although a constructor can in theory re-bless a referenced
object currently belonging to another class, this is almost
certainly
Wijaya Edward wrote:
Dear expert,
Hello,
I have the intention to write a Perl based CGI script that does the following
steps:
1. Take user input - including email - with a CGI script (mail_result.cgi).
make sure they don't try to spoof the input and send mail to zillions of
people
On 5/18/06, Gerald Wheeler [EMAIL PROTECTED] wrote:
Wondering how I can insert a value: abc| w/o the quotes) immediately
after the third | (pipe character) in file xyz.txt.
There's more than one way to do it. One way would be a substitution
(s///). Another would be to use split and join:
What operating system are you using?
-Original Message-
From: Shalaka [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 6:26 AM
To: beginners@perl.org
Subject: Any CPAN module similar to Winrunner
Hi List!
I'm a beginner in Perl,
i want to know if there is any module available
Hi Kaushal,
On 5/18/06, Kaushal Shriyan wrote:
I have perl.chm file Learning Perl, How do i print all the chapters
and all pages in
the perl.chm file
How did you get the book in .chm format? I only know of it being
available on paper and on safari.oreilly.com. It's a great book (I
learned from
On Thu, 2006-05-18 at 06:25 -0700, Shalaka wrote:
Hi List!
I'm a beginner in Perl,
i want to know if there is any module available which
allows me automated testing of an application.
Test::More and the command `prove -r`
I will attach a sample module and test to another email shortly...
On Sun, 2006-05-14 at 21:45 +1000, Ken Foskey wrote:
I am trying to transfer across a link that is unreliable. (OK it is
reliable but it does break occasionally.)
I found the solution to this in an earlier email took the code and
created a module for myself and here is my module and test
yes, this is helpful, so I won't re-bless any object now.
On 5/18/06, Tom Phoenix [EMAIL PROTECTED] wrote:
On 5/18/06, Ken Perl [EMAIL PROTECTED] wrote:
how to rebless another object in current package's constructor? could
somebody give me an example?
perlobj sez:
Although a constructor
Hi,
As Tom Phoenix said there are many ways to do it, this is one of the way we can
do it.
+++
$string =
one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fourteen|;
$added = abc|;
@tmp_array = split(/\|/,$string,4);
for ($i=0;$i$#tmp_array;$i++)
{
Saboo, Nandakishore wrote:
Hi,
Hello,
As Tom Phoenix said there are many ways to do it, this is one of the way we
can do it.
+++
$string =
one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fourteen|;
$added = abc|;
@tmp_array =
perl -0777 -p -i -e 'print abcdefgh\n' *.ext
or
perl -0777 -p -i -e 's#^#abcdefgh\n#' *.ext
or
???
--Ankur
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
20 matches
Mail list logo