Bryan,
I'm no pro, but I can help a bit. You interpolate variables in a
double-quote "".
my($name) = 'Adam';
print("My name is $name\n"); # Prints `My name is Adam` with a return
at the end.
or more to your question
my($name);
chomp($n
ing a
file with 3-lines of test text in a file named `sample.txt`.
sample.pl sample.txt
Script: Test-1
Script: Test-2
Script: Test-3
You could also use the following command `cat sample.txt | sample.pl`.
As we say in Philly, you feel me dog?
Regards,
Adam
** Back ticks are not part of the actual
e from the reference.
print ("The array's size is " . @de_ref . "!\n");
There is probably a better way, but I'm a newb so I don't know.
Cheers,
Adam
On Apr 6, 2004, at 7:40 PM, Andrew Gaffney wrote:
I've got an array reference and I'm trying to figure o
Richard,
I wouldn't look to use a temporary file. In stead push your output into
an array then iterate through the array on your second pass. I would
expect you to get better performance as you won't have to worry about
disk I/O.
Regards,
Adam
On Apr 13, 2004, at 4:55 AM, Bar
s error because there isn't a file named `nlexample`
or `fish` in the current directory where the program is.
Regards,
Adam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
l's documentation for instructions on setting
shell variables. Using BASH this is how I would set this variable (I use
BASH):
export PERLIB5='/users/my_home_dir/perl-lib';
After you do all this you can deploy modules to your personal library and
use them from there.
Regards,
Ada
his
syntax is fairly noisy. As an alternative, try using split() Something along
the lines of:
#! /usr/bin/perl
use strict;
# UN-TESTED
my ($value, @parsed);
$value = "adam 1.2 2.2 3.2 wed";
@parsed = split(/\s+/, $value);
print "$_\n" for (@parsed);
Unless
me commands to do this, or at least point me in the right
> direction. Any suggestions?
Yea, use a pipe delimited file.
Regards,
Adam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Here is the code:
my $r1 = [1,2];
my $r2 = [1,2];
How many anonymous arrays do we have now?
One or two?
This shows we have two arrays: print "$r1\n$r2\n";
Is there any way to find out how the system is naming these arrays
internally?
thanks
adam
--
To unsubscribe, e-ma
I am expecting in both examples the same result:
Example1: the same references
Example2: the same references
However, I get:
Example1: different references
Example2: the same references
What am I missing?
thanks
adam
Here is the code:
#Example1
my $r1 = [1, 3];
my $r2 = [1, 3];
if ($r1 eq $r2
] = "test";
}
Does it mean - that in general - we should not use one character variables
in Perl?
thanks
adam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Owen is dead on, but I think we can do that with less code. Try
something like:
printf ("%0.2f\n", $_) while (<>);
Regards,
Adam
On Jan 29, 2004, at 5:25 AM, Owen Cook wrote:
On Thu, 29 Jan 2004, Mallik wrote:
How do I format the decimals, i.e, if there is no
decimal part,
ie("Cannot find file `$file_nm`.\n");
# Zip the file.
print("Trying file name '$file_nm.zip'");
system("zip '$file_nm.zip' '$file_nm'");
Regards,
Adam
Does the file's name contain spaces?
On Jan 29, 2004, at 1:24 AM, Owen wrote:
On We
d whose data type is Hyperlink, I must
actually create a LONGCHAR field, then set some additional field
attribute/property (dbHyperlink?) so that the contents of the field are
treated as a Hyperlink.
But how? Might this involve using some other module--a Win32 or som
d whose data type is Hyperlink, I must
actually create a LONGCHAR field, then set some additional field
attribute/property (dbHyperlink?) so that the contents of the field are
treated as a Hyperlink.
But how? Might this involve using some other module--a Win32 or som
On Tue, Jun 26, 2001 at 06:05:15PM -0400, Gross, Stephan wrote:
> Why is this style
>
> if ($x) {
> do this;
> do that;
> }
This style is also known as The One True Brace Style, popularized by
Kernighan & Ritchie (in _The C Programming Language_). It's also popular
with other languages
Hello, Adam Theo here;
i am looking for a way my perl program can automatically get the home
directory of the user. i have come accross the ENV module, and think it
will work, but wish to know if it is a standard module with all perl
distributions? linux, windows, mac, etc? also, what does
Hello, Adam Theo here;
i am looking into setting up some sort of code management system for my
website, and found CVS, but have one problem with it:
is it only for C? i understand it can likely store any code language,
but what about the merging and other functions of CVS? is that only for
Hello, Adam Theo here;
does anyone know of a script to 're-mail' emails? i have a bunch of
'saved' and 'archived' emails (in both Mozilla Inbox and RMAIL formats)
stored on my local computer. i am looking for a script that will read
these files, then re-send th
On Fri, Jun 29, 2001 at 11:31:28AM -0500, Hal Wigoda wrote:
>
> When you install a perl module from CPAN
> should you do it as root???
That's the easiest way to do it.
Another possibility is to install somewhere else on the file system,
not in the system site_perl directory. That other direct
On Fri, Jun 29, 2001 at 12:10:04PM -0500, Hal Wigoda wrote:
> I'm trying to install a module as root
> from cpan
> and it is looking for my ncftp program
> and it is not found.
>
> What do i do now??
>
> I'm using mandrake 7.2 on my linux server.
You can install ncftp from your mandrake CDs, or
Hello, Adam Theo here;
i was wondering if the artistic license version 2.0 that i think is
going to be used for Perl6 is finished? can it be effectively used as a
standalone license, or should it be used in conjunction with the GPL again?
if someone could point me to a webpage or email it to
Hello, Adam Theo here;
i have built a Tk program to act as a alarm clock. it was a while ago
that i created it, and was pretty sure it was working, but now that i go
back to it, it is giving this error when i press the button to stop the
alarm:
Tk::Error: Can't locate object m
Hello, Adam Theo here;
i was wondering if there is something i must declare to use file tests
such as -d and -e? i have code which i am working on, and i need to
check to see if a file is a directory. if it is, i run a subroutine.
i recall having used file tests before, and successfully. i
Hello, all.
I have put together a very rough draft of what I hope to be a very good
introduction and description of Perl's Original Artistic License. I've
just put it together using a variety of readily findable sources, and
has not been refined at all at this point.
I would like anyone here tha
On Thu, Aug 02, 2001 at 12:51:55PM -0400, Ron Woodall wrote:
> Hi All:
>
> A bit of a conundrum here.
>
> while (attlist[$x] =~ m|
Hi,
I think that you can do it like this:
s/^/ //g;
will work (or should work) in SED, so I assume that it
will in Perl also.
HTH,
Thomas Adam
--- Scott Martin <[EMAIL PROTECTED]> wrote: >
How can I remove white space from the beginning of a
> variable?
>
> -Scott
>
On Wed, Aug 08, 2001 at 02:24:39PM -0500, Mooney Christophe-CMOONEY1 wrote:
> > From: Sudarsan Raghavan [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 08, 2001 1:48 PM
> > To: Sophia Corwell
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Deleting leading/trailing whitespace
> >
> >
> > ($temp)
On Thu, Aug 09, 2001 at 11:35:13AM -0500, Frank Newland wrote:
> Readers:
> awk has a function called 'getline' which reads the next line of input
> without changing control of the script.
Perl is unlike sed and awk in this respect; program control is not
determined by reading sequential lines
On Tue, Aug 14, 2001 at 09:04:06AM -0500, David Simcik wrote:
> I've been perusing the Camel book, the Cookbook, CGI Programming w/Perl, and
> Effective Perl for answers to this question, but have yet to find one or two
> definitive solutions. I've seen the standard die/eval() statements and the
>
routine, and get *back*
info, instead of just sending it.
so, in short, any way i can get a subroutine to send *back* arguments to the piece of
code that called it? all of this will be within the same program, i just am hoping
there is a way to do this.
thanks all.
--
/\--- Ada
t in that order, though).
--
/\--- Adam Theo ---
//\\ Theoretic Solutions (www.Theoretic.com)
/\ Software, Politics, and Advocacy
/--||--\ email: [EMAIL PROTECTED] AIM: Adam Theo 2000
||jabber: [EMAIL PROTECTED] ICQ: 3617306
|| "Did you ever get the feeling th
could help direct me. thanks.
--
/\ --- Adam Theo ---
//\\ Theoretic Solutions (www.Theoretic.com)
/\ Software, Politics, and Advocacy
/--||--\ email: [EMAIL PROTECTED] AIM: Adam Theo 2000
||jabber: [EMAIL PROTECTED] ICQ: 3617306
|| "Did you ever get the f
On Tue, May 22, 2001 at 09:37:13AM -0700, Paul wrote:
> Anybody know if there would likely be any problem with building a
> "case" statement like the folowing (without installing Switch.pm)?
>
> sub rate ($) {
> $_[0] eq 'A' ? .03 :
> $_[0] eq 'B' ? .05 :
> $_[0] eq 'C' ? .06 :
>
On Wed, May 23, 2001 at 02:59:13PM -0500, Tom Yarrish wrote:
> Hey all,
>
> Been reading the list for a little while, and had sort of a philosophy
> question for the group. I've been trying to learn Perl for some
> time (in fact, my company has offered to pay for me to take a Sun
> course on it).
On Wed, May 23, 2001 at 03:32:18PM -0500, Tom Yarrish wrote:
> Okay, in answer to your question, my background is mainly in
> Network/System Administration. Starting on Windows systems, and then
> moving into Unix/Linux systems after that. I've played around a bit with
> VB and C++. I've never
On Wed, May 23, 2001 at 04:52:06PM -0400, Yacketta,Ronald J wrote:
> Folks,
>
> I search CPAN and found a good deal of Mail packages, seeing that I am
> frankly new
> which of them would you recommend to use in a perl script that will be
> sending a single
> email at the completion of a set of ta
On Thu, May 24, 2001 at 11:38:32AM +0100, Hobson, Neville wrote:
> I'm writing perl scripts that will be distributed to locations where I
> cannot gaurantee the location of perl. Is there a clean alternative to the
> shebang with the specific perl path? Maybe using an environment variable to
> loc
On Thu, May 24, 2001 at 01:21:47PM +0100, Andy Roden wrote:
>
> Anyone help out...
>
> %router_tables is something like (1.1.1.1|cisco, 2.2.2.2|juniper etc)
>
> foreach $i (sort keys %router_tables)
> {
> next if ($i =~ "unknown");
> ($router_table{i},$router_type{$i}) = split(/
Hello, Adam Theo here;
Just to note, this is cross-posted to the Perl-XML and Beginners
mailing lists, since i share the same message to both of them. sorry
if this inconveniences anyone.
I'd again like to thank everyone on these lists, especially:
Mr McLean for his huge help
On Sun, May 27, 2001 at 11:32:16PM -0700, Helio S. Junior wrote:
> Is there anyone using one of these modules?
> I would like to exchange information about
> how to use them.
You're likely to find people using those modules on
<[EMAIL PROTECTED]>. For more information, see the
archives at:
On Tue, May 29, 2001 at 05:24:07PM +0400, kosta wrote:
> Can I have DBI package installed on the following build of perl:
> ActiveState perl-5.6.0, MSWin32-x86-multi-thread?
Yes. You probably want to use ActiveState's PPM installation utility.
At the command prompt, type 'ppm'. At the 'pp
are any modules
for playing net radio stations or such.
i am really only looking for stable modules at this time, but would
look into "newly-released" ones.
thanks.
--
/\--- Adam Theo ---
//\\ Theoretic Solutions (www.Theoretic.com)
/\ Software, Politics, and Advoca
Hello, all, Adam Theo here;
i didn't catch the first half of this thread, just the posts from the
last digest.
on the matter of compiling perl: this is something i have also been
wanting to look into, for the reason of speeding up my programs, and
being able to distribute my programs to p
On Wed, Sep 19, 2001 at 04:33:18PM -0500, David Simcik wrote:
> Hi!
> A little off-topic I know, but since I'm using Perl for the script, well...
> ;-) Anyways, I have an XML document and I want to use
> (whatever its type is actually called) to keep some content from being
> parsed by the
On Thu, Nov 15, 2001 at 03:08:48PM -0500, Glenn Cannon wrote:
> Now all I need is a way to work out the last day of the month. Most of them
> should be easy, but that damn February...
Find the first day of the next month (remember december/january rollover)
and subtract one day:
## hacking ja
On Tue, Nov 20, 2001 at 11:04:15AM -0800, A. Rivera wrote:
> Is there a quicker way to write this..just curious..
>
> $count=&SomeFunctionWitchReturnsaNumber;
> $count=$count+1;
$count = SomeFunctionWhichReturnsANumber() + 1;
Z.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
On Wed, Nov 28, 2001 at 04:54:53PM +0800, Terrence Chan wrote:
> I'm new to OO Perl and I wonder if it is possible to implement Sigleton
> pattern in OO perl. And how it is implemented.
>
> Any info/pointer is welcomed.
Check out search.cpan.org for "singleton". You'll find this:
http://search
On Wed, Nov 28, 2001 at 12:38:48PM -0500, [EMAIL PROTECTED] wrote:
> Can anyone tell me why he/she will choice PERL over PHP?
There are lots of reasons. The most important reason to use Perl
instead of PHP is that Perl is useful in many areas - web programming
as well as system administration a
On Wed, Nov 28, 2001 at 08:19:26PM +0200, Zysman, Roiy wrote:
> > Lets see who can write the most lean ,mean , elegant , powerful, poetic
> > (but most important) _Shortest_, script that cleans from a directory
> > files that are at least 3 days old.
perl -e 'chdir(shift @ARGV); sleep(3*86_400);
On Thu, Nov 29, 2001 at 11:53:38AM -0500, Johnson, Shaunn wrote:
> [sample]
>
> 2001q2 06 P92786 IEMMM01 1 6
> 2001q2 06 P92786 IEMMM01 1 8
> 2001q2 06 P56576 IEMFF01 1 23
>
> [result]
>
> 2001q2 06 P92
On Fri, Nov 30, 2001 at 04:41:04PM -0600, Smith, Laura J wrote:
> I'm not sure how to ask this question since I am so new to thisbut here
> goes. I am just learning Perl and my co-worker gave me a Perl program to go
> over and see how it looks. I was wondering if there is any way to have the
On Tue, Dec 11, 2001 at 11:46:50AM -0700, [EMAIL PROTECTED] wrote:
> Hi,
> I'm guessing this has been asked before, but is there a way to tell which
> modules you have installed? My system guys are picky about new ones, so
> I would like to know what we already have...
The easiest thing to do is
On Tue, Dec 11, 2001 at 02:05:14PM -0800, Lance Prais wrote:
> I have a question and I was wondering if anyone had an opinion on it. I am
> using a perl script to parse through a log file and if there is an error
> found I need to send and email to someone..
>
> I was thinking about calling an A
On Tue, Dec 11, 2001 at 05:37:16PM -0500, Pankaj Warade wrote:
> GlacierHi Group,
> I had been working on generating graphic images (want to plot some graphs
> like pie-chart, bar-graph). Is there any-way of getting this done in perl.
> Came to know about GD module. Is there any other modules whic
On Thu, Jan 03, 2002 at 10:51:15AM -0500, David Simcik wrote:
> I am currently trying to piece together a personal site for myself using
> Perl, MySQL, and Apache (alas, no mod_perl yet). I would like to seamlessly
> deliver content to both HTML and WML browsers, perhaps even going as far as
> dep
On Tue, Feb 05, 2002 at 08:52:44AM -0700, Mike Garner wrote:
> I have a subroutine that calls another
> subroutine, passing one array to the second for processing. I need the
> second sub to return 3 arrays to the first sub. I can't seem to get this
> to workwell I can return the data fro
I need to test a scalier to see if its value is not two possibilities,
because this test is being done inside a while loop I can not use an elsif
statement without things getting ugly. I have tried it like this if
($scalier nq 'A') || ($scalier nq 'B') { but that just gave me a syntax
error wh
Thanks for the help.
"John W. Krahn" wrote:
> vendion wrote:
>> Hello I am having trouble finding the correct syntax for reading a
>> list of numbers from a file, it is open and can read from it, I tried
>> with
>> while () {
>> chomp;
>> @some_array = $_;
>> print "@some_array\n";
>> }
>
> my @
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
sanket vaidya wrote:
>
> Instead of going for IDE It would be better to download Perl Interpreter &
> use some editor. For Windows few editors are Crimson, Context, Perl Express
> etc. I use Perl Express.
>
I played with Perl Express a bit and wasn'
I am working on a program that will act as a contact manager of sorts, it
uses two hashes to store everything (although the second one is commented
out because I am not ready to work with it). I am using the format function
to display everything but I don't know how to get it to show the keys
(Randal L. Schwartz) wrote:
>>>>>> "Adam" == Adam Jimerson writes:
>
> Adam> my %phone_numbers = ();
> ...
> Adam> $phone_numbers{$_} #needs to print the keys of the hash for the
> name, and Adam> values for the phone number so it will be li
"John W. Krahn" wrote:
> Adam Jimerson wrote:
>> I am working on a program that will act as a contact manager of sorts,
>> it uses two hashes to store everything (although the second one is
>> commented
>> out because I am not ready to work with it). I am us
ERL was too easy. What am I missing.
Thanks
Adam Jacobson
ERL was too easy. What am I missing.
Thanks
Adam Jacobson
I thought about the binary vs. alpha option. Which is correct?
- Original Message -
From: "Wiggins d Anconia" <[EMAIL PROTECTED]>
To: "Adam Jacobson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 09, 2004 5:35 PM
Subject: Re: Instal
Thanks. I thought I checked this. it works now.
- Original Message -
From: "Daniel T. Staal" <[EMAIL PROTECTED]>
To: "Perl Beginners" <[EMAIL PROTECTED]>
Sent: Tuesday, March 09, 2004 6:44 PM
Subject: Re: Installing DBI
> --As of Tuesday, March 9, 2
could any one tell me that SMTP::Net support attachment, if yes how it
could be to do so...
thanks
--
Allah Hafiz
O! God Thy sea is so great and my boat is so small.
Adam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.
dear all,
i want to dial automatically to phone through my PC getting numbers
from text/etc. file.
how could i do it in PERL.
thanks
Adam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.
posted it here to know how it could be
done in Perl.
which module should be use, is there any program similar to this one
has been built or not. etc.
thanks
Adam,
On Wed, 6 Oct 2004 23:32:51 -0400 (EDT), Chris Devers <[EMAIL PROTECTED]> wrote:
> On Thu, 7 Oct 2004, Adam Saeed wrote:
&g
enjoy it.
I did'nt mean to get script from here, i posted here to get initial
ideas to be purified and sharpened so problem statement and algo, must
become clear. i.e a way should be seen to do this.
Thanks again
Adam
On Thu, 7 Oct 2004 14:45:52 -0400 (EDT), Chris Devers <[EMAIL P
On Fri, 8 Oct 2004 03:53:55 +0600, Adam Saeed <[EMAIL PROTECTED]> wrote:
> Hi Errin!
> good tracking...!
> lema hee hee.. i am in Pakistan...It would be a nice thing but.,
> phone calls will cost you $.
> It would be a reasonable approach. if some others also w
i have to type all by hand. instead i want it to write through my
script.. '
any idea.
thanks
adam
code attached:
#! /usr/bin/perl -w
print "Enter ip address where smtp server is running\n";
chomp ($ip=);
system ("telnet");
system ("open $ip 25");
system("he
plz tell me how to uninstall a perl module...
thanks
Adam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
nstalled in the first place.
>
> --
> Chris Devers
>
--
Allah Hafiz
O! God Thy sea is so great and my boat is so small.
Adam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
){
for ($i=0;$i<$#user;$i+=3){
my $Insert=("insert into contact_list
values('$user[$j]','$user[$i+3]','$dept[$j+2]','$dept[$i+5]')");
my $rtn = $dbh->do ($Insert);
}
}
#delete unspecified records
my $delete=$dbh->do("delete from conta
uct='L2'";
my $sth = ($dbh->prepare($strsql) || die "Query could not be executed
" . $dbh->errstr());
i$sth->execute();
while (my $row = $sth->fetchrow_arrayref){
print join("\t", @$row), "\n";
}
$sth->finish();
$dbh->disconnect();
Script
h->fetchrow_arrayref){
> > print join("\t", @$row), "\n";
> > }
> > $sth->finish();
> > $dbh->disconnect();
> >
> > Script is working fine on the host machine(192.168.14.2) but give
> > error when run from remote machine...
> > any
push (@data,@dayofyear);
}
}
Regards,
Adam Saeed
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
ry at
/usr/local/lib/perl/5.10.0/SDLx/Surface.pm line 188
SDLx::Surface::load('SDLx::Surface', 'pic.jpg') called at
/usr/local/lib/perl/5.10.0/SDLx/Sprite.pm line 25
SDLx::Sprite::new('SDLx::Sprite', 'image', 'pic.jpg') called at
./slidesho
Hi,
It's been a week since I asked about this and No one has responded, Did I ask
incorrectly or in the wrong mailing list?
Any help that could be provided would be appreciated.
Thanks,
#--
Adam Fairbrother
Help Desk Techn
he correct info.
http://dl.dropbox.com/u/949632/build.text
#--
Adam Fairbrother
Help Desk Technician
afairbrot...@sd73.bc.ca
School District #73
- "Kartik Thakore" wrote:
> > Hi,
> H Adam,
> >
>
$LD_LIBRARY_PATH was unset. I set it manually to the SDL Libs folder, and the
error no longer happens. My test picture dosn't show up, but I think that's an
issue I can hack through myself.
Thanks you for all the help with this.
#-
On Wed, Feb 13, 2002 at 08:40:14AM -0800, John wrote:
> I have a scalar variable containing HTML that needs to be converted
> to XML. It's not the best HTML so it has invalid characters (like
> smart quotes, 1/2 character, etc.). I need to determine if these
> characters exist in the data and
On Sun, Mar 03, 2002 at 06:29:09PM -0800, Randal L. Schwartz wrote:
> Initially, you can use DBD::CSV or that
> new DBD::-thingy that is more complete,
That would be DBD::SQLite.
Z.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Thu, Mar 21, 2002 at 10:54:18AM +1000, Ken Cole wrote:
> I have an inherited web app that works like this.
[...]
> My question, in my experience NFS is not the quickest program around.
> Will it be faster to use say LWP or Net::ftp or similar to put and get
> the files in question than writin
On Fri, Mar 22, 2002 at 09:37:05AM -0500, David Gray wrote:
> while() will create an infinite loop,
No, it won't. The "while ()" idiom will read one line at a
time and automatically terminate the loop at the end of the file.
> so you do need some sort of
> sentinel value to break out of the lo
I'd split up the foreach loop and the conditional
it might be a little clunky, but here's the basic idea.
bolFound = false
foreach (@members) {
if (/($enqmem)/i) {
bolFound = true;
}
}
if (bolFound) {
do stuff
}
else {
do other stuff
}
At 18:54 27-03-02 +
On Mon, Apr 08, 2002 at 03:39:34PM +0200, Rune Hegrenes wrote:
> I'm trying to execute a stored procedure in my database from Perl.
>
> I seen get only the first resultset from the procedure, not the
> rest (the procedure returns 4 resultsets).
>
> How do I do this?
>
> I'm using the DBI::Sybase
You can't 'ping a specific port' ping is an IP tool, and ports do not show
up until the TCP/UDP level of your seven layer dip. Do some research on ICMP
for more info.
If you want to know if a service that uses a specific port is responding,
you will have to make some valid request using whatever
> On Monday, April 29, 2002, at 10:58 , [EMAIL PROTECTED] wrote:
> [..]
> > ipl of the server and therefore nulls wtmp
> [..]
>
> good God Man! no one uses 'ipl' - it will scare the kiddies
Is this, like, ancient IBM speak for "reboot"? IPL = "initial program load"?
> That gives me the info
e for purposes of reading from that file,
you don't need to even look at @ARGV. The file(s) specified on the command
line will be become the default filehandle for the <> operator, so just
doing something like:
while (<>) {
}
Will read from whatever file(s) you specified on
On Tue, May 07, 2002 at 11:30:03PM +0800, Ilarionov wrote:
> Are there any links, tips, scripts,
> about business graphics creation
> by perl?
What do you mean by "business graphics"?
If you mean things like charts and graphs, then look at the
GIFgraph, PNGgraph and GD::Graph modules for a sta
Well, if the web page is already in an acceptably readable form, you don't
need perl at all (gasp!) if you use lynx. Just a contab entry and a pipe to
a mailer.
- Original Message -
From: "Jonathan E. Paton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 07, 2002 1:44 PM
Since this is a beginners list, I guess someone (i.e. me) should point out
that perhaps the simplest way to read an array from STDIN is to do something
like:
@theseLines = ;
This will by default add one array entry per line of user input until the
user enters a cntrl-d.
Of course, if you are st
--
According to this, my understanding is that all my's live in a symbol table
that is not connected to any package namespace.
--Adam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Original Message -
From: "drieux" <[EMAIL PROTECTED]>
> the variables on the left are 'softish references' to other things
.. . .
> not a reference but the thing in itself...
> what I think you are calling 'hard reference'().
I believe 'soft references' in perl refers to the pra
A better approach would be to have a static 'left' frame that links to a CGI
that redirects to a random page.
Like so:
This Link
And then "RandomPage.cgi" just has to pic a random page, and return a
redirect header to that page.
- Original Message -
From: "Rohesia Hamilton Metcalfe" <[E
You want to "read the RGB pixel values from them and write these to a file"?
As was already pointed out, that is already what is in the file for some
graphics formats! What is it you are actually trying to accomplish here?
Maybe you just want to use imagemagick on the command line to convert your
o that directly in the SQL by using:
"update media1 set history5 = history5 + 1 where ... "
--Adam
- Original Message -
From: "FLAHERTY, JIM-CONT" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 02, 2002 9:59 PM
Subject: What am I doing wr
1 - 100 of 147 matches
Mail list logo