The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Perl Question by nimdokk2001-11-07 15:54:29
  Re: Perl Question by foetusinc2001-11-07 16:37:03
    Oh yeah by foetusinc 2001-11-07 16:49:25
The actual problem was that you where using regex syntax outside of a regex; Perl was expecting a scalar variable in your statement, instead you handed it what it considered a list (square brackets denote elements in an array, except within a regex). Try running the following quick program and you'll see what I mean - variable context is everything.

$test=[yY];
print "$test\n";
print "@$test\n";

[ Reply ]
      thanks again by nimdokk2001-11-07 16:52:14

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)