| buu | You can also get away with: my $fh; if ($x){ open my $fh, "file" } else { $fh=\*STDOUT } |
| jagerman | tdonahue-laptop: open my $fh, ">&STDOUT"; |
| ofer0 | open $fh, 'file' not my |
| buu | Yeah, if it's inside a lexical scope. |
| jagerman | Err, you put yours in an if statement. At the end, poof. |
| aslan | perlbot: help |
| perlbot | (fact)::tell (who) about (what)::(what) > (who)::learn (what) as (info)::relearn (fact) as (info)::phone (phone number)::shorten (url)::shorten it::search (module)::docs (module)::perldoc -f (function)::jargon (term)::math::fortune::flip::host (type) (record)::rot13::roll (die)::tempconv (temp)::scramble (foo)::8ball::slap::diss::what time is it::top/bottom (number) karma::geoip (ip) |
| aslan | perlbot: docs hey guys, what's the command to find perl guides using perlbot ? |
| perlygatekeeper | Chris62vw: you still there? |
| hobbs | aslan: er? |
| aslan | hobbs: there was a perlbot command that shows URL's with perl beginners guides |
| somian | asian: you can do perlbot, perldoc perl<suffix> > <user> |
| hobbs | perlbot tutorial |
| perlbot | http://perlmonks.org/index.pl?node=Tutorials | http://perl.com/cs/user/query/q/6?id_topic=74 | http://learn.perl.org/ | http://books.perl.org/onlinebooks | http://perl-begin.berlios.de/tutorials/ | http://learn.perl.org/library/beginning_perl/ |
| hobbs | not a command :) |
| aslan | orafu: thanks you :) ya not a command huh hobbs: thank you ! |
| Chris62vw | perlygatekeeper, yes I am |
| action | CPAN rating: SVK rated 5 stars by hanenkamp |
| CPAN | rating: SVK rated 5 stars by hanenkamp |
| action | CPAN rating: Config-General rated 5 stars by Jacquelin Charbonnel |
| CPAN | rating: Config-General rated 5 stars by Jacquelin Charbonnel |
| somian | Substitute a manual section for <suffix> and a nick for <user> YAW, asian (You Are Welcome) |
| hobbs | ROLL and PITCH, somian |
| fieserkiller | i've a question: how can i load an other file in perl? like "source filename" in bash or include in c? |
| jagerman | How do you know he is Asian? |
| Jmax- | fieserkiller: didn't somebody already tell you? fieserkiller: perldoc perlmod; perldoc -f use; perldoc -f require; |
| fieserkiller | i read the perldoc about open |
| somian | hobbs: I try to, as often as possible. And do bouncy-bouncy with a friend ;-) |
| cfedde | fieserkiller: use, do, require |
| fieserkiller | ok i try thx |
| Chris62vw | perlygatekeeper, sup nig? |
| tdonahue-laptop | jagerman, thanks that worked perfectly |
| somian | Chris62vw: I find that really unacceptable. Please do not use that racial epithet in #perl. |
| mofino | hahaha |