Home Page   #javascript  #perl  #c  #openmoko  #php  #ruby-lang  #apache  #cisco  #java  #mysql   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#perl

24 December 2007


Total 13 pages. You are browsing page 4/13.

First :: Prev :: [...] [2] [3] [4] [5] [6] [...] :: Next :: Last

19:08 <****> aha. quoting backslashes, thought so
19:11 <****>errstr
19:11 <****> cat for a president!
19:11 <****>err
19:20 <****> Right ho, escaping backslashes.
19:20 <****> Surely there is an easy way to avoid triggering any other control characters..
19:20 <****> DarthFredd - see perldoc -f quotemeta
19:20 <****> though, that is intended for regexes
19:21 <****> Thanks :D
19:21 <****> It's kinda sad that I have to come to a friggin' IRC channel to learn about that..
19:21 <****> perl syntax complexity makes me sad :(
19:21 * xand hands DarthFredd a box of tissues
19:22 * DarthFredd wipes away the tears
19:22 <****> DarthFredd: have you read a Perl tutorial?
19:22 * DarthFredd cries away the fears
19:22 <****> you should feel happy about it when compared to simpler languages. there, it's just annoying getting things done.
19:22 * DarthFredd doesn't feeeeel any paaaain anymore
19:22 <****> all languages suck
19:23 <****> dryrot: I disagree.
19:24 <****> Hmm, quotemeta doesn't seem to work
19:24 <****> In my case, it interprets \xc as a character of sorts
19:24 <****> even in quotemeta!
19:24 <****> DarthFredd: don't use quotemeta.
19:24 <****> This is trivial. There is an easy way to do this, right?
19:24 <****> DarthFredd: Just do C:\\Hello\\There
19:25 <****> DarthFredd: or try single-quotes.
19:26 <****> And to answer your question: Yes, I've read several perl tutorials
19:26 <****> how can I check if a string exists in a variable? for example $foo="blah blah exist blah". I would like to test if $foo has "exist" in there
19:26 <****> Led_Zeppelin: perldoc -f index
19:27 <****> or just use C:/Hello/There
19:29 <****> was thinking, if ($var=~/exist/) { }
19:31 <****> GumbyBRAIN: banner conspiracy!
19:31 <****> It's a conspiracy.
19:31 <****> hello... anyone try SmbClientParser?
19:32 <****> GumbyBRAIN: YAY! ITS XMAS! PERL6 WILL BE RELEASED!
19:32 <****> Its in the street doesnt appear to be perl.
19:32 <****> from CPAN
19:32 <****> gary441: can't say i have
19:32 <****> ok...i guess i have a general question.....
19:32 <****> k
19:33 <****> I'm trying to learn Perl and tired SmbClientParser......
19:33 <****> ok
19:33 <****> what are you using to learn perl?
19:33 <****> book? online tutorial? etc?
19:34 <****> so i'm wondering, the SmbClientParser seems kinda slow, so should i stay with a simple Bash script or use SmbClientParser?
19:34 <****> book, and online
19:34 <****> what would you call a "computer room" at a small office
19:34 <****> data room?
19:34 <****> computer room?
19:35 <****> yes
19:35 <****> there is a better term for it, I know there is
19:35 <****> depends does it need prestige?
19:35 <****> i copy files from Windows to Linux
19:35 <****> simcop2387, yes :-)
19:35 <****> data center
19:35 <****> FIRE SWAMP
19:35 <****> ADP room
19:35 <****> HALON RELEASE!
19:35 <****> data center implies large-ness
19:35 <****> Fire swamp always generates prestige. Don't ever let people in, though. They can't know that it's NOT filled with devious traps.
19:35 <****> thanks guys, I'll pick one
19:35 <****> Network Control Center and Data Retrieval something
19:37 <****> ok so you've got a good perl resource at least, SmbClientParser, what it does is it runs the smbclient command and uses that to access a windows/samba server, if you want speed i'd look into mounting the share with smbfs or cifs at that point you'll be able to use it just like its on your computer
19:37 <****> umm
19:38 <****> gary441: what are you using that for?
19:38 * xand uses FileSys::SmbClient
19:38 <****> can anyone recommend some free windows panaroma software?
19:38 <****> I think that's the correct capitalisation
19:39 <****> he's using Filesys::SmbClientParser
19:39 <****> maldous: not that i can think of but i think there was one i remember written in python so it should run on windows
19:40 <****> it looks like there was a flurry of research in the late 90s and some freeware tools appeared, and then everything went commercial in the 21st century.
19:40 * simcop2387 has a 1Yb datacenter i rent out to google
19:41 <****> maldous: i usually search sourceforge.net when i find stuff is like that :)
19:42 <****> 20 3000x2000 side by side pictures makes for a big panorama.
19:42 <****> http://www.nic.fi/~juhe/ptbcbgui/ http://panotools.sourceforge.net/ http://stitchpanorama.sourceforge.net/
19:42 <****> theres a few\
19:42 <****> maldous: i'd love to see a copy :)
19:43 <****> yes, using it to get linux/perl to communicate with windows share dir
19:43 <****> i'm trying 'panorama factory' now
19:44 <****> gary441: i'd look into mounting the share just so that any program can use it to save or load from
19:44 <****> 'panorama composer' worked for small photo set sizes, but breaks with large.
19:44 <****> hmm
19:44 <****> someone has recommended 'hugin' as well. (whatever that is)
19:45 <****> simcop...thanks, that's how i'm doing it now. just thought i'd try Perl, cause i'm trying to learn perl
19:45 <****> 'panaroma factory' is so. slow. making. computer. grind. hope. worth. it.
19:45 * CPAN upload: CGP-CLI-2.7.2 by JBUHACOFF
19:46 <****> currently i use 'smbmount' in a bash script to mount the windows share
19:46 <****> gary441: ah, mount -t smbfs -o username=...,password=... is my prefered way, since its easier to specify options and you can put that in your fstab
19:47 <****> /server/share /mnt/point smbfs username=...,password=... 0 0
19:47 <****> er a second / at the beginging of that, stupid xchat
19:47 <****> Wacky.
19:47 <****> simcop2387...excellent!....thank you very much
19:47 <****> simcop2387: http://matthewaldous.blogspot.com/2007/12/panorama-melbourne-southbank.html is the (small) output from 'panorama composer'
19:47 <****> maldous's url is at http://xrl.us/bdeb3
19:49 <****> nice
19:49 <****> i'm out...thanks everyone
19:50 <****> I have an IRC bot and it uses IO::Socket how can I have it connect to two servers using 2 threads on one proccess?
19:51 <****> Perl is multi-threaded right?
19:51 <****> Monie: You're DOOMED.
19:51 <****> p.p


Total 13 pages. You are browsing page 4/13.

First :: Prev :: [...] [2] [3] [4] [5] [6] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo