Re: When is qw used

2015-06-10 Thread Shawn H Corey
On Wed, 10 Jun 2015 17:49:44 +0530 rakesh sharma wrote: > I have seen perl syntax like use Carp qw(some list items)so when do > we need to write like this and why is not the items of the module > getting imported As others have said, to import a selected set of functions or to import

Re: When is qw used

2015-06-10 Thread Shlomi Fish
Hi Rakesh, On Wed, 10 Jun 2015 18:10:12 +0530 rakesh sharma wrote: > Hi Krzysztof > If that was the case , using the subs inside Carp should not show any > error.Bu I was not able to use cluck without using qw and was able to use > croak and confess without the qw.Don't ge

Re: When is qw used

2015-06-10 Thread bars0
chars"; # die of errors (from perspective of caller) croak "We're outta here!"; # die of errors with stack backtrace confess "not implemented"; # cluck, longmess and shortmess not exported by default use Carp qw(cluck

Re: When is qw used

2015-06-10 Thread Carl Inglis
ing the subs inside Carp should not show any > error. > Bu I was not able to use cluck without using qw and was able to use croak > and confess without the qw. > Don't get it > > thanks > rakesh > > > Date: Wed, 10 Jun 2015 14:30:28 +0200 > > From: ba

RE: When is qw used

2015-06-10 Thread rakesh sharma
Hi Krzysztof If that was the case , using the subs inside Carp should not show any error.Bu I was not able to use cluck without using qw and was able to use croak and confess without the qw.Don't get it thanksrakesh > Date: Wed, 10 Jun 2015 14:30:28 +0200 > From: bars0.bars0.ba..

Re: When is qw used

2015-06-10 Thread bars0
Hi, As far as I know qw(some list item) will import from Carp module only subs that you've explicitly requested. In this example `some, list, item` will be available in your namespace but not other from Carp module. `use Carp;` will import all of them. Krzysztof On 2015-06-10

When is qw used

2015-06-10 Thread rakesh sharma
I have seen perl syntax like use Carp qw(some list items)so when do we need to write like this and why is not the items of the module getting imported thanksrakesh

Re: Syntax error on use Cwd qw(abs_path);

2011-05-31 Thread Jim Gibson
At 11:10 AM -0700 5/26/11, Derek wrote: Hello, I am getting the following error: bash: /var/www/html/bugzilla/email_in.pl: line 2: syntax error near unexpected token `(' bash: /var/www/html/bugzilla/email_in.pl: line 2: `use Cwd qw(abs_path);' The contents of this file are: #!/us

Re: Syntax error on use Cwd qw(abs_path);

2011-05-28 Thread Bob goolsby
Mornin' -- Derek Said: >>> The contents of this file are: #!/usr/bin/perl use Cwd qw(abs_path); >>> If the first line is indeed a blank line, then the default interpreter is invoked. The '#!' has to the the first two characters on the first line of your code.

Re: Syntax error on use Cwd qw(abs_path);

2011-05-28 Thread Uri Guttman
> "D" == Derek writes: D> Hello, I am getting the following error: D> bash: /var/www/html/bugzilla/email_in.pl: line 2: syntax error near D> unexpected token `(' big clue. what is the first word of that line? it is bash! perl is not seeing your script for some reason. so this is not a

Syntax error on use Cwd qw(abs_path);

2011-05-28 Thread Derek
Hello, I am getting the following error: bash: /var/www/html/bugzilla/email_in.pl: line 2: syntax error near unexpected token `(' bash: /var/www/html/bugzilla/email_in.pl: line 2: `use Cwd qw(abs_path);' The contents of this file are: #!/usr/bin/perl use Cwd qw(abs_path); Thats a

Re: How ro specify path in "use lib qw()"

2010-04-12 Thread Shlomi Fish
Hi Mimi, On Monday 12 Apr 2010 02:32:12 Mimi Cafe wrote: > My program is in the same directory as my module directory, but when I use > relative path in use lib, Perl doesn't find the module. > > > > use lib qw(MyModule/), use lib qw(./MyModule/), use lib qw(My

How ro specify path in "use lib qw()"

2010-04-11 Thread Mimi Cafe
My program is in the same directory as my module directory, but when I use relative path in use lib, Perl doesn't find the module. use lib qw(MyModule/), use lib qw(./MyModule/), use lib qw(MyModule) or use lib qw(./MyModule/) # these don't work. use lib qw(/var/www/cgi-bin

Re: Strange behavior with POSIX qw(fpathconf)

2010-03-31 Thread Bob goolsby
Post this on Perl Monks (http://perlmonks.org/) for non-beginner feed back, Old Gray Bear On Tue, Mar 30, 2010 at 2:38 PM, Paul Smith wrote: > I have a feeling this is not a "beginners" question (I've been hacking > in Perl for many years and UNIX systems for far longer) but it seems my > choice

Strange behavior with POSIX qw(fpathconf)

2010-03-31 Thread Paul Smith
I have a feeling this is not a "beginners" question (I've been hacking in Perl for many years and UNIX systems for far longer) but it seems my choices are this list, or perl5-porters which also doesn't seem right. Isn't there any list where non-beginner questions can be asked? Anyway. I have a Pe

Re: List with qw and without

2008-07-26 Thread Rob Dixon
William wrote: > package MyConfig; > use constant (DOCUMENT_ROOT => "/var/www/"); > require Exporter; > our @ISA = qw(Exporter); > our @EXPORT_OK = qw(DOCUMENT_ROOT); # This works > #our @EXPORT_OK = (DOCUMENT_ROOT); # But this does not work > > 1; > &

List with qw and without

2008-07-26 Thread William
package MyConfig; use constant (DOCUMENT_ROOT => "/var/www/"); require Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = qw(DOCUMENT_ROOT); # This works #our @EXPORT_OK = (DOCUMENT_ROOT); # But this does not work 1; use MyConfig qw(DOCUMENT_ROOT); print DOCUMENT_ROOT; # If I do n

Re: Shell qw(mysqldump) and localtime.

2007-09-03 Thread Shams Fantar
mysqldump' transparent to the code. Like this: use Shell qw( mysqldump ); my $content = mysqldump( qw( -u root -p *** --all-databases ) ); The mysqldump() function gets all the output produced by the utility 'mysqldump'. But there's very much to be gained by using Shell. And

Re: Shell qw(mysqldump) and localtime.

2007-09-03 Thread Adriano Ferreira
he utility 'mysqldump' transparent to the code. Like this: use Shell qw( mysqldump ); my $content = mysqldump( qw( -u root -p *** --all-databases ) ); The mysqldump() function gets all the output produced by the utility 'mysqldump'. But there's very much to be gained by u

Re: Shell qw(mysqldump) and localtime.

2007-09-03 Thread Shams Fantar
Jeff Pang wrote: 2007/9/3, Shams Fantar <[EMAIL PROTECTED]>: Jeff Pang wrote: try the POSIX::strftime,this use the same datetime format as shell's date command. perl -e ' use POSIX qw/strftime/; print strftime("%y%m%d %H:%M",localtime); ' 070903 21:51

Re: Shell qw(mysqldump) and localtime.

2007-09-03 Thread Jeff Pang
2007/9/3, Shams Fantar <[EMAIL PROTECTED]>: > Jeff Pang wrote: > > try the POSIX::strftime,this use the same datetime format as shell's > > date command. > > > > perl -e ' > > use POSIX qw/strftime/; > > print strftime("%y%m%d %H:%M

Re: Shell qw(mysqldump) and localtime.

2007-09-03 Thread Shams Fantar
Jeff Pang wrote: try the POSIX::strftime,this use the same datetime format as shell's date command. perl -e ' use POSIX qw/strftime/; print strftime("%y%m%d %H:%M",localtime); ' 070903 21:51 Okay. All right. use POSIX qw(strftime); my $date1 = strftime("

Re: Shell qw(mysqldump) and localtime.

2007-09-03 Thread Jeff Pang
try the POSIX::strftime,this use the same datetime format as shell's date command. perl -e ' use POSIX qw/strftime/; print strftime("%y%m%d %H:%M",localtime); ' 070903 21:51 2007/9/3, Shams Fantar <[EMAIL PROTECTED]>: > Hello, > > I want to give a d

Shell qw(mysqldump) and localtime.

2007-09-03 Thread Shams Fantar
Hello, I want to give a date (the year, the day, the hour and the minute) to a file. So, I use localtime function. But I don't understand how to use localtime (after reading the documentation on this function). Can you help me with this function? Next, I want to use a shell command, so I use

Re: qw with strings containing spaces

2007-08-09 Thread usenet
On Aug 9, 11:58 am, [EMAIL PROTECTED] (Mathew Snyder) wrote: > What I am doing is declaring an array and assigning the value: > @array = qw/All "A - H" "I - P" "Q - Z"/; You don't want qw{} here. Just do it the brute-force way: @array = ("All"

Re: qw with strings containing spaces

2007-08-09 Thread Mathew Snyder
t;A - H", "I - P" and "Q - Z". >> The spaces >> are for readability. >> >> What I am doing is declaring an array and assigning the value: >> @array = qw/All "A - H" "I - P" "Q - Z"/; >> and then pushing the to-be-

Re: qw with strings containing spaces

2007-08-09 Thread John W. Krahn
re for readability. What I am doing is declaring an array and assigning the value: @array = qw/All "A - H" "I - P" "Q - Z"/; and then pushing the to-be-determined values onto the array later on. However, when I print this all out while testing, I get each letter, h

Re: qw with strings containing spaces

2007-08-09 Thread Flemming Greve Skovengaard
re for readability. What I am doing is declaring an array and assigning the value: @array = qw/All "A - H" "I - P" "Q - Z"/; and then pushing the to-be-determined values onto the array later on. However, when I print this all out while testing, I get each letter, h

qw with strings containing spaces

2007-08-09 Thread Mathew Snyder
am doing is declaring an array and assigning the value: @array = qw/All "A - H" "I - P" "Q - Z"/; and then pushing the to-be-determined values onto the array later on. However, when I print this all out while testing, I get each letter, hyphen and quote as individu

Re: Variables in qw?

2004-06-20 Thread John W. Krahn
Gohaku wrote: > > Hi everyone, Hello, > I was just curious if there is someway to add a variable when using qw. > I am trying to do the following: > #Testing qw > $string_variable = "abc"; > @array = qw( string_literal1 string_literal2 $string_variable ) >

RE: Variables in qw?

2004-06-19 Thread Charles K. Clarkson
gohaku <[EMAIL PROTECTED]> wrote: : Hi everyone, : I was just curious if there is someway to add a : variable when using qw. I am trying to do the : following: [snip] my $foo = 'bar'; my @arr = ( qw(foo bar), $foo ); HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 96

Variables in qw?

2004-06-19 Thread gohaku
Hi everyone, I was just curious if there is someway to add a variable when using qw. I am trying to do the following: #Testing qw $string_variable = "abc"; @array = qw( string_literal1 string_literal2 $string_variable ) print join(" ",@array); #Would like to s

Re: help with "user vars qw"

2004-01-05 Thread Randal L. Schwartz
r/bin/perl Ricardo> use strict; Ricardo> $|=0; Ricardo> use vars qw (%WRRConf %DHCPDConf %IPTablesConf %GeneralConf Ricardo> %DBIConf %NetworkConf %IfCfgConf %WIPLConf Ricardo> %WANInitConf %LANInitConf Ricardo>

Re: help with "user vars qw"

2004-01-05 Thread Daniel Staal
bold. # !/usr/bin/perl use strict; $|=0; use vars qw(%WRRConf %DHCPDConf %IPTablesConf %GeneralConf %DBIConf %NetworkConf %IfCfgConf %WIPLConf %WANInitConf %LANInitConf %NetworkRemoteConf %WRRRemoteConf %DHCPDRemot

Re: help with "user vars qw"

2004-01-05 Thread Rob Dixon
Ricardo Pichler wrote: > > #!/usr/bin/perl > use strict; > $|=0; > use vars qw (%WRRConf %DHCPDConf %IPTablesConf %GeneralConf > %DBIConf %NetworkConf %IfCfgConf %WIPLConf > %WANInitConf %LANInitConf > %NetworkR

help with "user vars qw"

2004-01-05 Thread Ricardo Pichler
Hi, I'm beginner in the perl world, I having see very files .pl to learn and I have one question... In this script, what do make the parts in bold? #!/usr/bin/perl use strict; $|=0; use vars qw (%WRRConf %DHCPDConf %IPTablesConf %GeneralConf %DBIConf %Networ

Re: Is foo qw (arg1 arg2) equivalent to foo (arg1, arg2)?

2003-11-06 Thread Jeff 'japhy' Pinyan
On Nov 6, Dan Anderson said: > >> Dan> So: foo->bar qw(foo bar); is equivalent to foo->bar("foo","bar"); ? >> >> Only in recent Perls. > >Do you know exactly how recent? Are we talking 5 or better or 3 or >better? Without check pe

Re: Is foo qw (arg1 arg2) equivalent to foo (arg1, arg2)?

2003-11-06 Thread Dan Anderson
> Dan> So: foo->bar qw(foo bar); is equivalent to foo->bar("foo","bar"); ? > > Only in recent Perls. Do you know exactly how recent? Are we talking 5 or better or 3 or better? Thanks in advance, -Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Is foo qw (arg1 arg2) equivalent to foo (arg1, arg2)?

2003-11-06 Thread Randal L. Schwartz
>>>>> "Dan" == Dan Anderson <[EMAIL PROTECTED]> writes: Dan> So: foo->bar qw(foo bar); is equivalent to foo->bar("foo","bar"); ? Only in recent Perls. The mapping of qw(...) to a (...) list at compile time is a modern addition. Old

Re: Is foo qw (arg1 arg2) equivalent to foo (arg1, arg2)?

2003-11-06 Thread Jeff 'japhy' Pinyan
[sorry about that first post, I got ^X-happy] On Nov 5, Dan Anderson said: >use Data::Dump qw(dump); >foo->bar qw(foo bar); >Am I correct in assuming that if I have a subroutine foo (or method if >called with a package name), and I use qw() it takes all words seperated >by

Re: Is foo qw (arg1 arg2) equivalent to foo (arg1, arg2)?

2003-11-06 Thread Jeff 'japhy' Pinyan
On Nov 5, Dan Anderson said: >I've noticed that in code examples something like the following will be >used: > >use Data::Dump qw(dump); >foo->bar qw(foo bar); > >(Syntax may not be 100% correct). > >Am I correct in assuming that if I have a subroutine foo (

Re: Is foo qw (arg1 arg2) equivalent to foo (arg1, arg2)?

2003-11-05 Thread R. Joseph Newton
Dan Anderson wrote: > I've noticed that in code examples something like the following will be > used: > > use Data::Dump qw(dump); > foo->bar qw(foo bar); > > (Syntax may not be 100% correct). > > Am I correct in assuming that if I have a subroutine foo (or met

Is foo qw (arg1 arg2) equivalent to foo (arg1, arg2)?

2003-11-05 Thread Dan Anderson
I've noticed that in code examples something like the following will be used: use Data::Dump qw(dump); foo->bar qw(foo bar); (Syntax may not be 100% correct). Am I correct in assuming that if I have a subroutine foo (or method if called with a package name), and I use qw() it takes a

RE: qw versus qx

2003-07-24 Thread Dan Muey
> > Is qw for holding list of data and qx is for running > commands? Do they both indicate a list context? Thanks, John perldoc -f qq perlop "Regexp Quote-Like Operators" my @stuff = qw(hi bye joe mama); my @cmdln = qx(cat monkey.txt| grep fred); my $cmdln = qx(cat mo

RE: qw versus qx

2003-07-24 Thread Hanson, Rob
> Is qw for holding list of data and qx is for running commands? yes. > Do they both indicate a list context? no. qw{word word} is the same as ('word', 'word')... and qx{foo bar} is the same as `foo bar`. qx{} is just there if you need an alternate syntax to ``, l

qw versus qx

2003-07-24 Thread JOHN FISHER
Is qw for holding list of data and qx is for running commands? Do they both indicate a list context? Thanks, John -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: difference between use Carp and use Carp qw(cluck)

2003-06-16 Thread Jenda Krynicky
From: Ramprasad <[EMAIL PROTECTED]> > What is the diff between > > use Carp qw(cluck); > Carp::cluck("hello"); > > and > > use Carp; > Carp::Cluck("hello"); The difference is that in the first case the cluck() is imported into

difference between use Carp and use Carp qw(cluck)

2003-06-16 Thread Ramprasad
Hi all, What is the diff between use Carp qw(cluck); Carp::cluck("hello"); and use Carp; Carp::Cluck("hello"); I had assumed that when I 'use Carp qw ( cluck )' I will be able to use only the cluck function of Carp but when I tried it out I found it wa

Re: qq/qw

2002-09-16 Thread George Schlossnagle
if /\b(tcl|java|python)\b/i; # :-) $baz = "\n";# a one-character string i.e. qq is just like double quotes. qw/STRING/ Evaluates to a list of the words extracted out of STRING, using embedded whitespace as the wor

RE: qq/qw

2002-09-16 Thread Toby Stuart
read the "Regexp Quote-Like Operators" section of the perlop manpage > -Original Message- > From: Rum Pel [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 17, 2002 2:48 PM > To: [EMAIL PROTECTED] > Subject: qq/qw > > > hello > > perl

qq/qw

2002-09-16 Thread Rum Pel
hello perl -e "print qq(@INC)" prints the library paths. Can somebody tell me what does "qq" do here? Also, what does "qw" do in the following statement? use HTTP::Request::Common qw(GET POST); --rp

Re: removing qw( [ array ] ) seems to fix it?

2002-07-10 Thread John W. Krahn
Zachary Buckholz wrote: > > Original:: > avg_resp_time=> [ qw(@$avg_resp_time[0] > @$avg_resp_time[1] > @$avg_resp_time[2] >

removing qw( [ array ] ) seems to fix it?

2002-07-10 Thread Zachary Buckholz
Original:: avg_resp_time=> [ qw(@$avg_resp_time[0] @$avg_resp_time[1] @$avg_resp_time[2] @$avg_resp_tim

qw for help in - Re: Perl simple array

2002-04-17 Thread drieux
On Wednesday, April 17, 2002, at 04:59 , A. Rivera wrote: > @data = ("test1","test2","test3","test4"); > print $data[1]; my @data = qw/test1 test2 test3 test4/ ; gives us all a chance to remember that since hubris and laziness are two of our th

Re: qw for variables?

2002-02-19 Thread Andrea Holstein
In article <[EMAIL PROTECTED]> wrote "Dennis G. Wicks" <[EMAIL PROTECTED]>: > Greetings; > > I can get qw to work for things like > > @n = qw( john jacob jingleheimer schmidt ); > > but something like > > @n = qw( $names ); &g

Re: qw for variables?

2002-02-19 Thread Dennis G. Wicks
The split did the trick, and cut out a few lines of code also. I had already done some splits and joins to get ready for qw() which I can n ow delete! Thanks for the help everyone! Dennis -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: qw for variables?

2002-02-19 Thread Johnathan Kupferer
Dennis G. Wicks wrote: >Greetings; > >No, I mean if $names contains "Jesus Mary Joseph" and I do > > my @n = qw( $names ); > >I want the same results as if I had done > > my @n = qw( Jesus Mary Joseph ); > >Obviously qw() does not work this

RE: qw for variables?

2002-02-19 Thread Nikola Janceski
you want split then.. my $names = "Jesus Mary Joseph"; my @n = split /\s+/, $names; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 3:08 PM To: [EMAIL PROTECTED] Subject: Re: qw for variables? Greetings; No, I mean

Re: qw for variables?

2002-02-19 Thread Jeff 'japhy' Pinyan
On Feb 19, Dennis G. Wicks said: >No, I mean if $names contains "Jesus Mary Joseph" and I do > > my @n = qw( $names ); > >I want the same results as if I had done > > my @n = qw( Jesus Mary Joseph ); There's no quoting operator that will do th

Re: qw for variables?

2002-02-19 Thread Dennis G. Wicks
Greetings; No, I mean if $names contains "Jesus Mary Joseph" and I do my @n = qw( $names ); I want the same results as if I had done my @n = qw( Jesus Mary Joseph ); Obviously qw() does not work this way, but I can't find the equivalent that does. Thanks, Denn

Re: qw for variables?

2002-02-19 Thread Jonathan E. Paton
> What does the equivalent of qw(???) for a variable? You mean like: my @array = ($var1, $var2, $var3); Jonathan Paton __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Cha

RE: qw for variables?

2002-02-19 Thread Nikola Janceski
qw( john jacob $name ) is equivelent to ('john', 'jacob', '$name') notice the single quote. The single quotes does not interpolate (use the special meanings of special charaters, so the $ doesn't designate a varible name it's just a $ character). see man

qw for variables?

2002-02-19 Thread Dennis G. Wicks
Greetings; I can get qw to work for things like @n = qw( john jacob jingleheimer schmidt ); but something like @n = qw( $names ); doesn't work. I get the literal string "$names" in @n! What does the equivalent of qw(???) for a variable? Many TIA! Dennis --

Re: acronym of qw

2001-12-05 Thread Peter Scott
At 12:00 PM 12/5/01 +0330, nafiseh saberi wrote: >do you know ...what is the acronym of "qw" that >use in Object-Oriented ?? It stands for "quote words". -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com -- To unsubscribe, e-mail: [EMAIL

Re: acronym of qw

2001-12-05 Thread [EMAIL PROTECTED]
On Wed, 5 Dec 2001, nafiseh saberi wrote: > Date: Wed, 5 Dec 2001 12:00:17 +0330 > From: nafiseh saberi <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: acronym of qw > > hi dear team... > I wish all of you be healthy. > > do you know ...what is the acr

Re: acronym of qw

2001-12-05 Thread [EMAIL PROTECTED]
On Wed, 5 Dec 2001, nafiseh saberi wrote: > Date: Wed, 5 Dec 2001 12:00:17 +0330 > From: nafiseh saberi <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: acronym of qw > > hi dear team... > I wish all of you be healthy. > > do you know ...what is the acr

acronym of qw

2001-12-05 Thread nafiseh saberi
hi dear team... I wish all of you be healthy. do you know ...what is the acronym of "qw" that use in Object-Oriented ?? thx. Best regards. Nafiseh Saberi www.iraninfocenter.net www.sorna.net Beaty is in the eye of the beholder. _

Re: qw

2001-05-30 Thread Paul
--- Nichole Bialczyk <[EMAIL PROTECTED]> wrote: > i'm trying to work my way throuh an existing script and it says > @array = qw("stuff", "more stuff", "even more stuff"); That looks like a typo, though they may have actually wanted the quotes and

Re: qw

2001-05-30 Thread Walt Mankowski
On Wed, May 30, 2001 at 03:38:35PM -0500, Nichole Bialczyk wrote: > i'm trying to work my way throuh an existing script and it says > > @array = qw("stuff", "more stuff", "even more stuff"); > > what does the qw do? In your example, it&#x

RE: qw

2001-05-30 Thread Jeffrey Goff
y like this: > >('"stuff",', '"more stuff",', '"even more stuff"') # Note the double quotes. Nope, no matter what you do, qw() really splits on whitespace.

RE: qw

2001-05-30 Thread Jeff Pinyan
On May 30, Jeffrey Goff said: >It's a shortcut for assigning words to an array. That statement would return >an array that looks roughly like this: > >('"stuff",', '"more stuff",', '"even more stuff"') # Note the

Re: qw

2001-05-30 Thread Michael Fowler
On Wed, May 30, 2001 at 03:38:35PM -0500, Nichole Bialczyk wrote: > i'm trying to work my way throuh an existing script and it says > > @array = qw("stuff", "more stuff", "even more stuff"); > > what does the qw do? perldoc perlop: qw/

RE: qw

2001-05-30 Thread Larry Shatzer
Here is the documentation on it. ( http://www.perldoc.com/perl5.6/pod/perlop.html#qw%2fSTRING%2f ) qw/STRING/ Evaluates to a list of the words extracted out of STRING, using embedded whitespace as the word delimiters. It can be understood as being roughly equivalent to: split('

RE: qw

2001-05-30 Thread Jeffrey Goff
It's a shortcut for assigning words to an array. That statement would return an array that looks roughly like this: ('"stuff",', '"more stuff",', '"even more stuff"') # Note the double quotes. Something like ("stuff",&q

qw

2001-05-30 Thread Nichole Bialczyk
i'm trying to work my way throuh an existing script and it says @array = qw("stuff", "more stuff", "even more stuff"); what does the qw do? thanks, nichole