David Olbersen wrote ..
>On Thu, 31 May 2001, Henk Klos wrote:
>
>> I have just downloaded and installed the latest version of Perl for
>> WinNT. Followed all the instructions, associated .pl with perl.exe,
>> etc etc. However, not one sample htm file from the "eg" directory is
>> working. What d
[EMAIL PROTECTED] wrote ..
>In http://www.cpan.org/doc/FMTEYEWTK/is_numeric.html,
>( Is it a number? ), Tom Christiansen writes:
>---
>If you do care about getting 0's, then do this:
> do {
> print "Number, please: ";
> $
Margit Brunder wrote ..
>I've written a cgi script and when Apache (version 1.3.6) tries to call
>it, I get the error message "can't locate loadable object for module
>HTML::Parser in @INC at ./HTML/entities.pm line 79" although the
>module Parser.pm IS in the same directory as entities.pm Th
Elaine -HFB- Ashton wrote ..
>King, Jason [[EMAIL PROTECTED]] quoth:
>*>Sanchit Bhatnagar writes ..
>*>
>*>> Is there something like a "Perl Certified Professional" or
>*>>does there exists some other credible certification you can
>*>>get
Sanchit Bhatnagar writes ..
> Is there something like a "Perl Certified Professional" or
>does there exists some other credible certification you can
>get for perl.
competency
>Also can someone please provide me help and/or links which
>have tutorials (maybe a single para) on the perl's fu
Bernhard writes ..
>Hi! I'm using a html form, where you can enter a file (a
>picture) and upload it, but when i send the form the Perl
>script only gets the local Adress of the file, but not the
>Data (so the picture) of the file. How can i save the picture
>in a new file on my Disk?
>I have
Steven Riley writes ..
>I'm new to the list and usually like to lurk for a while before asking
>questions but I've been faced with a problem which I'm struggling to
>find an answer.
>
>Can someone supply help or a URL to help me connecting to an NT server?
>Basically I want to connect to several
justin todd writes ..
>Can anyone tell me if with IIS on NT4.0 you need to create a cgi-bin or
>if you set the file permissions through the IIS Manager?
there are two things that you need to do
1. in the IIS admin the directory that you're using as your scripting
directory needs to have 'Script
Murray Webster writes ..
>--- ok ---
>C:\PERL561>perl systest2.pl a123 b432
>@ARGV contains: a123 b432
>Received a123, b432
>
>--- ok - haven't created association yet 8-( ---
>C:\PERL561>systest2.pl a321 g554
>The system cannot execute the specified program.
>--- create association for .pl -->
Kris Cook wrote ..
>I'm writing a form that inserts into a database table (a header
>record) with an autonumbered field (system assigned). Ordinarily, the
>value of the serial field assignment in an SQL database is stored
>in sqlca.sqlerrd[2], but I can't find any way to reference this in
>the do
Richard KHOO Guan Chen wrote ..
>Just wondering if there is a site which have useful simple perl
>scripts for totally clueless people like me to look at? I am actually
>interested in trimming mail headers (save subject, from etc) for
>storage
http://www.cpan.org/
--
jason king
In Georgi
Joel R Stout writes ..
>I want to get the file names of all "EDI" files from a certain
>directory. I
>do not want "ENT" (or encrypted) file names.
>
>Example:
>
>The directory contains:
>a001.edi
>a002.edi
>a003.edi.ent
>a004.EDI
>
>After getting the file name in $_ I did the following match
Ken Hammer writes ..
> I need to write a perl script that will gather system information
>from remote machines. I must communicate to the remote machines
>using SSL. I'm thinking I can use the Socket method to accomplish
>this, but I have had little luck in figuring it out.
>
> Can anyone point
Fernando Munoz writes ..
>You are probably right, but it works!.. the fact of the problem
>however, is that the cookie is not set on Internet Explorer, and I can
>not figure it out.
so .. you say that I'm probably right .. so it's probably correct that
Netscape is executing a different program t
Fernando Munoz writes ..
>I'm in need for a little help. I'm trying to make an script to create a
>cookie and it does just fine with Netscape (creates it and recovers it)
>but It does not work with IE. here is the code I'm using :
if it seriously works in Netscape then there's something serious
Peter Scott writes ..
>At 10:44 AM 5/17/01 +1000, King, Jason wrote:
>>so here's the thing .. Perl doesn't have pointers .. only references
>>.. so you can't have a 1500 element array and grab a reference to the
>>700th element
>
>Oh yes you can:
>
Gary wrote ..
&file_control(\@lines[10..36]); # pass pointer to array elements
I just wanted to add something for those that are interested in what the
above actually does .. let's use an example
@foo = qw/a b c d e f g h i j/;
then we do this
$bar = \@foo[3..6];
what it does is cr
Gary writes ..
>The whole point of using references was so that I didn't want to keep
>copying array slices. This script will be handling nearly 1500 program
>source files totalling almost 750k lines of code.
>
>Any further help would be appreciated.
so here's the thing
Anshu Anshu writes ..
> I have one small doubts and I want to share with you to make sure.
>
>I was using old version of perl5 and couple of scripts were using
>DBD, DBI, Time modules. Recently I did upgrade the perl5 version
>5.005_03 (with Sun package ). Will upgarding the perl version will
>br
Jos Boumans writes ..
>Actually, its something YOU need to tell your server, so it knows where
>perl is
>
>the #! is called a shebang and basicly tells your computer where to
>find perl
>
>an example
>
>#!c:\perl\bin\perl is what you should type if you installed perl on
>a wintendo in c:\perl (bi
01 02:32
>To: King, Jason; [EMAIL PROTECTED]
>Subject: RE: Beginners Database Question
>
>
>This looks like just what I am after doing, but we run
>Netscape fastback server
>can anyone point me in the right direction?
>TIA
>Terry
>...Eric B. Leslie wrote ..
>...
Eric B. Leslie wrote ..
>I'm experimenting with putting a db backend on everything. What I've
> learned I am able to make a perl script that can access it and
> manipulate data for it but there's one key item I'm stumped on. What
> I'm trying to do is have the main content of the website be
Amarnath Honnavalli Anantharamaiah writes ..
>It is quite interesting. I am curious to know how do you print to a
>network printer ? Please excuse me if I am asking a dumb question.
never had to .. if I had to I'd probably want to format the printed output a
little better than ASCII can do .. s
Jeff .. you wrote ..
>On May 15, King, Jason said:
>
>>>A rather clever way to emulate locking is to use mkdir() and rmdir().
>>>
>>>Although it requires you to create a lock file, it's atomic and safe.
>>
>>are you sure ? .. just because it co
Brian Shoemaker writes ..
>Starting very soon, we'll be changing from Linux to NT.
>
>Currently, at the beginning of programs I use the following
>use Fcntl qw(:flock);
>then later in the scripts I use
>flock(FILE, LOCK_EX);
>
>The Perl 5 book I have says flock function doesn't work in
>Windows
Jeff Pinyan writes ..
>On May 14, Brian Shoemaker said:
>
>>The Perl 5 book I have says flock function doesn't work in
>Windows systems.
>>
>>I don't want to create a lock file each time someone accesses
>a file and
>>then have to delete that lock.
>
>A rather clever way to emulate locking is
Mark Martin writes ..
>I'm looking for the quick and painless (idiots guide) instructions to
>connect to an MS Access database running on NT from a Digital
>UNIX machine.
>
>Need to knows:
>
>What DBD:: ?? needs installing
>
>How should the database handle look seeing as how there is no
>inst
David Falck writes ..
>I tested something similar to your suggestion. I created the customer
>record on my laptop's Windows98 OS, and also on my web site's UNIX OS.
>Then I read one record and without chomp-ing (removing the input record
>separator), got the length for the record. On both operati
RICHARD A. NAKROSHIS (Contractor) writes ..
>I hate to ask dumb questions, but how do you print directly to the
>default Windows printer? I've tried using a batch file to call my
>ActivePerl 5.6 perl script, writing my output to a file, and then
>printing that file, but the perl script doesn't f
Matt Cauthorn writes ..
>A friend of mine just had a drive crash on him. He was able to save
>some of the files in dos, as his win98 couln't boot. Now all of his
>mp3s have the dos 8 character limit on them, but winamp in his new
>win98 can actually read the long version of the name on 80% of the
David Falck writes ..
>Is there a programmatic way to tell if I'm on Windows or UNIX? I know
>that $^0 returns the name of the operating system, but can I count on
>matching /MS/i or /Win/i to determine if it's Windows?> If Windows,
>I'll assign 2 to $newline below, else I'll assign 1.
it comp
Peter Lemus writes ..
>Please provide an example on how I can create the log
>file of a perl script, something like MMDD.log.
>I'll like to use the current Month, Day, and Year.
well .. assuming that your program is only run once (ie. two copies can't be
running at the same time - so there a
Stephen E. Hargrove writes ..
>On Thu, 10 May 2001, King, Jason wrote:
>
>> Stephen E. Hargrove writes ..
>>
>> >how do i add new directories to @INC? i've managed to
>bungle one of my
>> >debian systems, and apt-get relies pretty heavily on
Stephen E. Hargrove writes ..
>how do i add new directories to @INC? i've managed to bungle one of my
>debian systems, and apt-get relies pretty heavily on some .pm's that
>aren't in the stock @INC locations.
there's a hand module called 'lib' that's part of the CORE distribution ..
it basicall
Brett W. McCoy writes ..
>On Wed, 9 May 2001, Rod Suter wrote:
>
>> I'm using perl through emacs, but I want to bring along some
>people on
>> NT4.0. They're accustomed to Visual Studio, and want IDE features,
>> such as project directories, global search and replace, debugger
>> linking, sourc
[EMAIL PROTECTED] writes ..
>(name = john)
-
>if I am trying to just extract "john" for the value $b, why would the
>following script not work. I thought it would take bothIt returns the
>full (name=john)
>
>#!user/local/bin/perl -w
>
>open TRY , "try.txt";
>
>while () {
> (my $b=$_) =~ s/
SS HK writes ..
>I would like to install some of the CPAN modules. How
>can I do that. I am using ActivePerl on Windows.
>
>Any pointers would be greatly helpful.
while others have mentioned 'ppm' which should be your first port of call ..
there are only a limited number of modules (albeit the
[EMAIL PROTECTED] writes ..
>Please how do i (the actual commands) send an file (html) as
>an attachment using sendmail in pelr with no MIME intalled?
I can't remember what options you need to give to sendmail .. and I don't
have sendmail here to test .. but you'll get the idea
open MAIL, '
Carl Rogers writes ..
>I used the opendir() function in my Perl script to point to a folder
>with 200+ text files for the purpose of extracting data from each file.
>
>If I run the script with opendir/readdir pointing to a directory on a
>shared drive, I'll get to a point where Perl tells me "Can
either that or the "if (/$TYPETAG/i)" is not matching - so the block isn't
even being entered .. this would be most likely because even if the match on
line 29 doesn't match .. line 30 should still initialise $jobtype to (at the
very least) '::'
so my guess is that $TYPETAG doesn't appear on the
Helio S. Junior writes ..
>I would like to know if it's possible to do the
>following:
>
>When the user clicks on the Refresh Button of
>Internet Explorer and my WebPage refreshes, i
>also have to 'insert' some information on the
> inside the Page. Is it possible to do
>it?
>If so, how?
>Any Samp
Clinton writes ..
>I'm tring to extract some values delimited by quotes
>I can extract the first set using "([^"]*) but not the second set using
>"([^"]*),"([^"]*). Could I have a clue please?
a) you're forgetting the closing quote
/"([^"]*)","([^"]*)"/
b) the while() processes one line at a
I wrote ..
>Mike Stussie writes ..
>
>>Jason... thanks for responding... let me clear up a couple of things
>>and perhaps you can provide further guidance.
>>
>>The email broke the record into 2 lines, each record is actually only
>>one line of which the only field that concerns me is the
>>emai
Johnathan Kupferer writes ..
>I know this probably isn't a beginners question...
>
>I need to set up a proxy server to filter IFRAME tags before a thrid
>party piece of software sees them and chokes on them. The third party
>application is good about listening making requests using a proxy on
>an
Casey West wrote ..
>On Wed, May 02, 2001 at 11:44:20PM -0700, David Monarres wrote:
>: I am alos fairly new with perl and completely new with perl one
>: liners. I see how you can use regex's on the cmd line to edit a file
>: (sort of sed ish). I tried this
>:
>: $ perl -pe 's/hello/reverse($1)
Helio S. Junior writes ..
>I have a simple question about installing Perl
>(ActivePerl) on a Win2K Server.
>Does anyone know if after installing it on the server
>i have to restart it ?
definitely not
>There are other programmers using ASP on the same
>server and i would like to know about th
Kailash Subramanian writes ..
> What is the best way to create a tar archive using Archive module
>for a large directory structure with some 5000 files ? Currently I am
>using UNIX tar for this.
>Do I read all the files and directory and then use Archive
>module to tar them?
>If anybody can
Mike Stussie writes ..
>Jason... thanks for responding... let me clear up a couple of things
>and perhaps you can provide further guidance.
>
>The email broke the record into 2 lines, each record is actually only
>one line of which the only field that concerns me is the email address.
>Here are t
David Monarres writes ..
>I am alos fairly new with perl and completely new with perl one liners.
>I see how you can use regex's on the cmd line to edit a file (sort of
>sed ish). I tried this
>
>$ perl -pe 's/hello/reverse($1)/' -i test
>
>all it print's is reverse. I was wondering if you knew
Helio S. Junior writes ..
>I have a HTML Page in our Intranet. This page contains
>some tables which i have to update from time to time.
>
>The information i have to add to the tables on this
>page comes from OutLook e-mails.
>
>I would like to add a button on this Page in order to
>read OutLook
Casey West writes ..
>On Wed, May 02, 2001 at 05:37:27PM -0400, Casey West wrote:
>: On Wed, May 02, 2001 at 03:16:41PM -0700, Peter Lemus wrote:
>: : Hi,
>: : I'm having some trouble trying to execute the followin
>: : command from a perl script.
>: : rmdir /s /q username #this works from the
Mike Stussie writes ..
>thanks for the response... let me clarify the description of
>file 'B'
>
>File 'B' record format is exactly like file 'A', both look like this:
>(btw - the file is a registrant file for a newsletter)
>
>File 'A'
>BCSJN::Joe User::1
>N.Main::Anytown::MO::None::Unknown
Ask Bjoern Hansen writes ..
>On Mon, 30 Apr 2001, Meije Oppenhuizen wrote:
>
>> I am probably doing something very wrong here, but can
>someone tell me
>> why
>>
>> #!/usr/bin/perl -w
>>
>> use File::Find;
>>
>> print "$arg";
>> open(LISTFILE, "> /home/meyeo/testfile") or die "Can't open the
Ask Bjoern Hansen writes ..
>On Fri, 27 Apr 2001, Billy Joedono wrote:
>
>[...]
>> Convert to regular Unix format and problem solved! More
>question: how can I
>> force vi to show these, or better yet, how can I get
>dos2unix or unix2dos
>> in Linux?
>
>perl -i -pe 's/\r\n/\n/' file_to_be_con
Joe McMahon writes ..
>On Wed, 2 May 2001, J. Patrick Lanigan wrote:
>
>> I am getting an "Internal Server Error" returned to my
>browser. The error
>> log shows the following:
>>
>> "[Wed May 2 00:04:39 2001] [error] [client 192.168.0.10]
>Premature end of
>> script headers: /path/to/filenam
Jeff K.V. Bhavnanie writes ..
>How do i go about accepting a cookie from a web login site?
in a cookie jar
>I use LWP to do a POST, but i can't login as the server
>sends a cookie. Is there a generic Login perl script lines?
>
>Login to a web site, send username password, accept cookie
>then th
Daniel Choong writes ..
>okie, this probably sounds very simple but i dunno how
>to do it. i just learnt perl. i need some tips on how
>to use a perl script to automate the updating of files
>on multiple servers. i am trying to use ftp but i do
>not know how to write the script to read the output
J. Patrick Lanigan writes ..
>I tried them on th CLI first. I even su'ed to user nobody to
>match the env of apache.
and on the CLI - I presume that they outputted exactly what you expected ..
ie.
"Content-type: text/html
Hello World!
"
it doesn't seem like a permissions error .. I presume
J. Patrick Lanigan writes ..
>I am getting an "Internal Server Error" returned to my
>browser. The error
>log shows the following:
>
>"[Wed May 2 00:04:39 2001] [error] [client 192.168.0.10]
>Premature end of
>script headers: /path/to/filename"
your scripts are very simple which would sugge
I wrote ..
>so .. your code could probably have looked something like this
>(using the wonderful File::Path module)
>
> #!perl -w
> use strict;
>
> use File::Path 'rmtree';
>
> open DIRS, 'c:/admin/removedir.txt' or die "Bad open: $!";
> chomp( my @dirs = );
>
> rmtree( \@dirs);
>
> __END
Peter Lemus writes ..
>I need to delete some directories, specified in
>removedir.txt, I'll like to check whether the file
>exists or not, if it doesn't I need to print file has
>been deleted. this is what I've done so far.
ok .. line by line (and excuse the pedantry)
>use file::spec;
>use wi
J. Patrick Lanigan writes ..
>> I was using:
>>
>> $mystring =~ s/\'/\\'/;
>>
>> ...to replace ' with \' in $mystring. It was working find I
>> thought, until I
>> encountered a string with multiple apostrophies. How do I replace
>> 0 or more?
>>
>> Ex:
>>
>> "No More 'I Love You's'"
>
lance turner writes ..
>Thanks Jason for your reply.
>
>I tried using an absolute path for gzip, but I'm getting the
>same error.
>
>I don't understand why I can run gzip from the shell but can't run it
>through perl. I'm able to run tar and other programs using the system
>function but not g
Matt Blatchley writes ..
>Does anyone know of a way to use perl and CGI to have the following:
>
>html page w/ form to get stdin from the user for username and
>password.(basic),
>pass the variables to the perl script which then modifies permissions
>for a specific folder on NT and allows the u
Mike Stussie writes ..
>I'm a newbie to perl and trying to solve a problem.. Here is what I'm
>trying to do:
>
>read thru flat file 'A' that looks something like this:(fields
>delimited by
>'::')
>BCSNDTJN::Joe User::1 N.
>Main::Anytown::MO::None::None::None::Unknown::[EMAIL PROTECTED]
>
>and f
Shawn writes ..
>Can someone look at a subroutine for me? Specifically, after
>this (at bottom of email) subroutine runs, it increases my
>RSS by 6 megs, and shouldn't do that. (here it has indexed
>133798 files)
this is normal Perl behaviour - welcome to an interpreted language .. check
out th
Phillip Bruce writes ..
> Anyone with experience in having perl call up mailx and
> at the same time have the body of the messages sent along
> with attachment.
using mailx is almost certainly not the ideal solution for your system ..
there are a number of Perl modules that deal with sending
David Kalnins writes ..
>I was wondering if it was possible to remove an item from a list whilst
>one is repeating over it with a foreach statement. For example, I was
>hoping that the following code fragment would do this - but instead it
>does exactly what I told it to do :) That is it leaves t
J. Patrick Lanigan writes ..
>I haven't quite sorted out the more complex data structure in perl yet.
>Anyhow, I need to take the following hash of arrays...
you have some very confusing code there .. so let's do it one bit at a time
>my %tracks = ();
create a hash called tracks with zero e
RDWest writes ..
>i just joined the list. i've been fooling with perl scripts for a
>few months now. just installing and editing html output mainly... now
>i'm studying a coupkle books to write my own (i hope)
>
>question: i've seen a couple post in some forums about creating a temp
>file for
Alex Stanciu writes ..
>I`ve got a question for you all. I`m trying to make an online
>map using Perl and PerlMagick, but as I found, it`s too slow
>for my machine, so I`m looking for another solution. Anyone
>here tried this? I saw a nice online map at www.nj.com , and
>I`d really like to kn
Phillip Bruce writes ..
> I like to know if subroutines and Function should be placed
> in any particular order in perl. What is commonly practiced?
> Can anyone give me some examples.
generally subroutines are placed after the main body of code being run .. I
usually put them in the order t
which (just in case you're not familiar with modules and how they work) you
would have a look at by typing the following at the command line
perldoc Archive::Tar
this is a module .. there are many shipped with perl
--
jason king
A Canadian law states that citizens may not publicly remov
Helio S. Junior writes ..
>Does anyone know how to configure a Win2k Web Server?
>What do i have to do in the Web Server and on my
>machine in order to be able to write CGI Applications?
>
>I have got the Win32 port of Perl from ActivePerl.
when you install ActiveState's Perl .. if there's a "De
lance turner writes ..
>I'm trying to use the system function to run the gzip program with
>the following line of code:
>
> $status = system("gzip $filename");
>
> where $filename is the file that is to be compressed
>
>It isn't working and a status of 65280 is being returned.
retu
or ActiveState's PDK (Perl Developer Kit) includes an EXE generator
http://www.activestate.com/
>-Original Message-
>From: Paul Cotter [mailto:[EMAIL PROTECTED]]
>Sent: Sun 29 Apr 2001 06:48
>To: Paul Jasa
>Cc: [EMAIL PROTECTED]
>Subject: Re: running Perl scripts in Windows as an .exe
Andrew Moore writes ..
>On Fri, Apr 27, 2001 at 04:25:49PM -0400, Craig
>Moynes/Markham/IBM wrote:
>> I cannot use a fixed library path as the script will be installed in
>> different directories on different systems.
>>
>> the idea is it will be executed as:
>> /home/dbncc/perl/scripts/.pl
Alberto Manuel Brandao Simoes writes ..
> I've donwloaded a module from CPAN (CORBA::ORBit) but it
>requires Error ('require Error') and there is any Error.pm
>in the system. Can anybody explain what can I do to put it
>working? I think removing the line will do the trick, but
>I would lik
[EMAIL PROTECTED] writes ..
> I am writing a small perl script which is included below. I 've
>a problem with this line my $prjstream = `cleartool lsstream -in
>@prjname[1]\@$ucmvob | grep Int` ; It doesn't recognise $ucmvob in
>this command. But if I replace the variable $ucmvob with the str
Kevin Meltzer writes ..
>On Fri, Apr 27, 2001 at 08:32:21AM -0400, Timothy Kimball
>([EMAIL PROTECTED]) spew-ed forth:
>>
>> grep() will do it easily:
>>
>> @lines = grep { ! /\.txt$|\.scc$/ } @lines;
>>
>> or do it when you read the file:
>>
>> @lines = grep { ! /\.txt$|\.scc$/ } ;
>
>You a
Billy Joedono writes ..
>More question: how can I force vi to show these, or better yet, how can
>I get dos2unix or unix2dos in Linux?
even better - get an FTP program that does the line-ending conversions for
you on the fly .. most GUI FTP programs will do this these days .. and
they'll usuall
Phillip Bruce writes ..
> Sometime back some one gave me the path to a config file in
> which told cpan where and what compilers that my systems uses.
> Does anyone have any ideas to this.
/path/to/perl/lib/Config.pm
--
jason king
A Canadian law states that citizens may not publicly
Billy Joedono writes ..
>Below is a piece of code central to my problem. I've used this a lot
>of time without problem, but on this occasion, it fails me. Whenever I
>run the script, it ends with the error "bash: ./test.pl: No such file
>or directory". The funny thing is, if I activate the debug
Susan Arante writes ..
>I'm getting the above error when my perl script runs a batch
>(master.bat) that in turn runs a batch (slave.bat) that runs another
>perl script. The process kicks me out
sounds peculiar .. but I don't think it has anything to do with your
Perl5/Perl6 dance .. see comments
Bryant C. Vernon writes ..
>I created an Adduser command for Windows NT that forced user to change
>their password on their first login. Having recently updated my PERL
>binaries, I have noticed that this module is no longer available for
>download via ppm. Furthermore, I don't know of any othe
Shawn Caldwell writes ..
>I am having a problem with a script I'm writing for a search button.
>it works just fine except when I'm searching for a part number with a
>letter in it. I am searching through a comma delimited database. If
>I have A35CH5 and A22F4, and I search for A22F4, my script wi
Peter Lemus writes ..
>I need to execute a windows 2000 command through a
>perl script on a different machine. can someone give
>me an example on how to accomplish this.
>
>I mapped a drive for example:
>system "net use x: myserver\myshare"
for starters the above will turn into the following
Part 1
the [] are just enclosing paired delimiters .. the substitution operator is
commonly used like this
s/foo/bar/
but those '/' delimiters are just convention .. it can also be
s#foo#bar#
or in fact any matching characters (that don't appear unescaped within the
regex or substitution)
Amarnath Honnavalli Anantharamaiah asks ..
>How do I get help on some modules like what are services available in
>particular module say NET::FTP etc etc
all command-line distributions of Perl ship with a utility called perldoc ..
for modules like Net::FTP you should be able to type the foll
Amarnath Honnavalli Anantharamaiah asks ..
>How do I get help on some modules like what are services available in
>particular module say NET::FTP etc etc
all command-line distributions of Perl ship with a utility called perldoc ..
for modules like Net::FTP you should be able to type the foll
David Gilden writes ..
>Original from the class:
>
>print "\n";
>
>
>Is this bad style?
yep .. avoid backwhacks at all costs - that's my opinion
>print '',"\n";
>
>better?
yep .. much better
>print ''. "\n";
also good - but generally accepted as inferior to the second snippet
>I do believe
M.W. Koskamp writes ..
>The special variable $| sets the autoflush. See PERLVAR documentation.
>Whats this person does is a dirty way of setting $| to a true
>value (not 0 or undef).
>Default = 0.
why do you say 'dirty' ? .. do you just mean 'less readable' ? .. or are you
implying some other
David Gilden writes ..
>Sorry to ask this, as I am quite new at this.
>And the online class that I am just now finishing has
>lots of bad code for examples!
>
>>From this list:
>
> print "'$file' => '$newfile'\n";
> ^
>
>What does this line mean, this a renaming convention?
Matt Blatchley writes ..
>Looking for any examples of using the "stty -echo" command with the
>the expect perl module. I'm trying to spawn an ssh session and use an
>encrypted password from a flat file. The only problem is hiding the
>output from the expect session. Is it possible to make the pas
Sean O'Leary writes ..
>Would it be possible to add a Reply-To header to all the messages
>originating from this list. That way we would point back to the list
>for regular replies, and we could still get the original poster's info
>from the From header.
excellent idea
>I would also like to sec
Roiy Zysman writes ..
> Hi guys and girls , does any one have a web link to perl specifications,
> (For example, are the specifications for a variable name) ??
while others have pointed you to perlstyle - to me your question reads more
that you're after the technical specifications of what can a
from my experience in c.l.p.misc some people take those bibliographies as a
disguised RTFMs .. I'd love to see it for all posts - but am afraid at how
some beginners might interpret it
--
jason king
No children may attend school with their breath smelling of "wild
onions" in West Virginia
I can't see those acronyms working because a beginner is just going to ask
the question - and at best they're going to try and guess what acronym to
use with their limited knowledge of Perl and limited perspective with which
to make a worthwhile guess
and if you continue to do what you're doing -
Peter Lemus writes ..
>I'm trying to pass a variable to a system command, the
>first time it works but the second time it doesn't.
>the script looks like this:
>
>#!/usr/bin/perl
>#Editor: Peter Lemus
>#Purpose: to assign security to multiple files in
>win2k.
>print "Permissions are being changed
James A Culp III asks ..
>Are there any rules for quoting responses to questions
>posted to this group?
Australian law protects everything created by someone under their Copyright
laws .. and I think the USA and UK are the same
whether an author - or a court would pursue you across the wor
1 - 100 of 108 matches
Mail list logo